* zin: support to show xhprof link on zinbar

This commit is contained in:
sunhao
2023-04-28 16:34:08 +08:00
parent 4bc8693728
commit 07ee66bbd2
2 changed files with 2 additions and 6 deletions
-6
View File
@@ -799,12 +799,6 @@ class baseRouter
$runID = $xhprofRuns->save_run($log, $type);
header("Xhprof-RunID: {$runID}");
if(class_exists(\zin\zin::class) && isset(\zin\zin::$data['zinDebug']))
{
$xhprofURL = getWebRoot(true) . "xhprof/xhprof_html/index.php?run={$runID}&source={$type}";
\zin\zin::$data['zinDebug']['xhprof'] = $xhprofURL;
}
return true;
}