diff --git a/http-server/Service/Http.php b/http-server/Service/Http.php index 59d8bef3..9646e962 100644 --- a/http-server/Service/Http.php +++ b/http-server/Service/Http.php @@ -74,7 +74,7 @@ class Http extends \Server\Abstracts\Http implements OnClose, OnConnect include_once $XHPROF_ROOT . "/xhprof_lib/utils/xhprof_lib.php"; include_once $XHPROF_ROOT . "/xhprof_lib/utils/xhprof_runs.php"; - $xhprof_runs = new \XHProfRuns_Default(storage('xhprof')); + $xhprof_runs = new \XHProfRuns_Default(storage(null,'xhprof')); $run_id = $xhprof_runs->save_run($xhprof_data, "xhprof_testing"); echo "http://localhost/xhprof/xhprof_html/index.php?run={$run_id}&source=xhprof_testing\n";