- change of filenames in sysplugins folder for internal spl_autoload function

- lexer/parser changed for increased compilation speed
This commit is contained in:
Uwe.Tews
2009-10-31 00:44:58 +00:00
parent 6efbb3ee58
commit cf379474fd
150 changed files with 2127 additions and 2028 deletions

View File

@@ -0,0 +1,30 @@
<?php
/**
* Smarty method Get_Config_Vars
*
* Returns a single or all global config variables
*
* @package Smarty
* @subpackage SmartyMethod
* @author Uwe Tews
*/
/**
* Deassigns a single or all global config variables
*
* @param object $smarty
* @param string $varname variable name or null
*/
function clear_config($smarty, $varname = null)
{
if (isset($varname)) {
unset($smarty->config_vars[$varname]);
return;
} else {
$smarty->config_vars = array();
return;
}
}
?>