if (strpos($response->body(), '{exec_time}') !== false or strpos($response->body(), '{mem_usage}') !== false){ $bm = Profiler::app_total(); $response->body( str_replace( array('{exec_time}', '{mem_usage}'), array(round($bm[0], 4), round($bm[1] / pow(1024, 2), 3)), $response->body() ) );}
It looks like you're new here. If you want to get involved, click one of these buttons!