From 42edba6bc63234a35d460b7ec91861caab931a54 Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Thu, 23 Sep 2021 01:07:56 +0800 Subject: [PATCH] 111 --- http-server/Service/Http.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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";