update plugins to return values instead of echo, fix config file cache

to include global config variables in cache file
This commit is contained in:
mohrt
2003-01-08 17:34:45 +00:00
parent 2cad634805
commit b579c0f51d
26 changed files with 168 additions and 150 deletions

View File

@@ -55,7 +55,7 @@ function smarty_function_math($params, &$smarty)
if (empty($params['format'])) {
if (empty($params['assign'])) {
echo $smarty_math_result;
return $smarty_math_result;
} else {
$smarty->assign($params['assign'],$smarty_math_result);
}