View Single Post
  #16  
Old 09-08-2006, 07:07 AM
 
Jerrad Jerrad is offline
 

X-Adept
  
Join Date: Nov 2004
Location: The Netherlands
Posts: 484
 

Default Re: 4.0.x performance improvement

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); }
__________________
X-Cart 4.0.12
Heavy modified with paid, free and forum mods.
PHP 5.2.5 | MYSQL 5.0.51a
Reply With Quote