mirror of
https://github.com/smarty-php/smarty.git
synced 2025-11-06 07:11:37 +01:00
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:
@@ -16,7 +16,7 @@ function smarty_function_debug($params, &$smarty)
|
||||
if($params['output']) {
|
||||
$smarty->assign('_smarty_debug_output',$params['output']);
|
||||
}
|
||||
echo $smarty->_generate_debug_output();
|
||||
return $smarty->_generate_debug_output();
|
||||
}
|
||||
|
||||
/* vim: set expandtab: */
|
||||
|
||||
Reference in New Issue
Block a user