- fixed function definitions on some autoloaded methods

This commit is contained in:
Uwe.Tews
2009-10-21 16:13:20 +00:00
parent 5fe16d23f0
commit 530c4bf108
6 changed files with 6 additions and 5 deletions

View File

@@ -4,6 +4,7 @@
- autoload Smarty internal classes
- fixed file dependency for config files
- some code optimizations
- fixed function definitions on some autoloaded methodes
10/20/2009
- check at compile time for variable filter to improve rendering speed if no filter is used

View File

@@ -13,7 +13,7 @@
/**
* Enable config overwrite mode
*/
public function enableConfigOverwrite($smarty)
function enableConfigOverwrite($smarty)
{
$smarty->config_overwrite = true;
return;

View File

@@ -13,7 +13,7 @@
/**
* Enable debugging
*/
public function enableDebugging($smarty)
function enableDebugging($smarty)
{
$this->smarty->debugging = true;
return;

View File

@@ -13,7 +13,7 @@
/**
* Enable forced compiling
*/
public function enableForceCompile($smarty)
function enableForceCompile($smarty)
{
$smarty->force_compile = true;
return;

View File

@@ -19,7 +19,7 @@
*
* @return array cache folder
*/
public function getCacheDir($smarty)
function getCacheDir($smarty)
{
return $this->smarty->cache_dir;
}

View File

@@ -13,7 +13,7 @@
/**
* is config booleanize mode
*/
public function isConfigBooleanize($smarty)
function isConfigBooleanize($smarty)
{
return $smarty->config_booleanize;
}