|
|
@ -30,7 +30,7 @@ function app_xhprof_end() { |
|
|
|
|
|
|
|
|
|
|
|
$run_id = $xhprof_runs->save_run($xhprof_data, 'xhprof_foo'); |
|
|
|
$run_id = $xhprof_runs->save_run($xhprof_data, 'xhprof_foo'); |
|
|
|
|
|
|
|
|
|
|
|
$profiler_url = sprintf('http://0.0.0.0:5858/index.php?run=%s&source=xhprof_foo', $run_id); |
|
|
|
$profiler_url = sprintf('http://{$LOCAL_IP}:5858/index.php?run=%s&source=xhprof_foo', $run_id); |
|
|
|
echo "<script language='javascript'>window.open('{$profiler_url}')</script>"; |
|
|
|
echo "<script language='javascript'>window.open('{$profiler_url}')</script>"; |
|
|
|
// echo '<a href="' . $profiler_url . '" target="_blank">Profiler output</a>'; |
|
|
|
// echo '<a href="' . $profiler_url . '" target="_blank">Profiler output</a>'; |
|
|
|
|
|
|
|
|
|
|
|