Quote:
Originally Posted by Zaja
xcart_root/include/func.php
|
I have no problems finding the file, but I can't find the code that need to be deleted.
Below is my func_display from include/func.php
Code:
#
# Smarty->display wrapper
#
function func_display($tpl, &$templater, $to_display = true) {
func_get_lng_chain($tpl, $templater);
if($to_display == true) {
$templater->display($tpl);
if(defined("START_TIME")) {
global $__sql_time;
$all_time = func_microtime()-START_TIME;
echo '<!--<TIME all="'.$all_time.'" sql="'.$__sql_time.'" php="'.($all_time-$__sql_time).'">-->';
}
} else
return $templater->fetch($tpl);
}