mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-07 11:54:26 +02:00
- fixed function definitions on some autoloaded methods
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
- autoload Smarty internal classes
|
- autoload Smarty internal classes
|
||||||
- fixed file dependency for config files
|
- fixed file dependency for config files
|
||||||
- some code optimizations
|
- some code optimizations
|
||||||
|
- fixed function definitions on some autoloaded methodes
|
||||||
|
|
||||||
10/20/2009
|
10/20/2009
|
||||||
- check at compile time for variable filter to improve rendering speed if no filter is used
|
- check at compile time for variable filter to improve rendering speed if no filter is used
|
||||||
|
@@ -13,7 +13,7 @@
|
|||||||
/**
|
/**
|
||||||
* Enable config overwrite mode
|
* Enable config overwrite mode
|
||||||
*/
|
*/
|
||||||
public function enableConfigOverwrite($smarty)
|
function enableConfigOverwrite($smarty)
|
||||||
{
|
{
|
||||||
$smarty->config_overwrite = true;
|
$smarty->config_overwrite = true;
|
||||||
return;
|
return;
|
||||||
|
@@ -13,7 +13,7 @@
|
|||||||
/**
|
/**
|
||||||
* Enable debugging
|
* Enable debugging
|
||||||
*/
|
*/
|
||||||
public function enableDebugging($smarty)
|
function enableDebugging($smarty)
|
||||||
{
|
{
|
||||||
$this->smarty->debugging = true;
|
$this->smarty->debugging = true;
|
||||||
return;
|
return;
|
||||||
|
@@ -13,7 +13,7 @@
|
|||||||
/**
|
/**
|
||||||
* Enable forced compiling
|
* Enable forced compiling
|
||||||
*/
|
*/
|
||||||
public function enableForceCompile($smarty)
|
function enableForceCompile($smarty)
|
||||||
{
|
{
|
||||||
$smarty->force_compile = true;
|
$smarty->force_compile = true;
|
||||||
return;
|
return;
|
||||||
|
@@ -19,7 +19,7 @@
|
|||||||
*
|
*
|
||||||
* @return array cache folder
|
* @return array cache folder
|
||||||
*/
|
*/
|
||||||
public function getCacheDir($smarty)
|
function getCacheDir($smarty)
|
||||||
{
|
{
|
||||||
return $this->smarty->cache_dir;
|
return $this->smarty->cache_dir;
|
||||||
}
|
}
|
||||||
|
@@ -13,7 +13,7 @@
|
|||||||
/**
|
/**
|
||||||
* is config booleanize mode
|
* is config booleanize mode
|
||||||
*/
|
*/
|
||||||
public function isConfigBooleanize($smarty)
|
function isConfigBooleanize($smarty)
|
||||||
{
|
{
|
||||||
return $smarty->config_booleanize;
|
return $smarty->config_booleanize;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user