Skip to content

Commit

Permalink
Update app_start.php
Browse files Browse the repository at this point in the history
  • Loading branch information
midoks committed Jan 4, 2025
1 parent 57ff303 commit 8cb2257
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/php/conf/app_start.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ function app_xhprof_end() {

if (extension_loaded('xhprof')
&& isset($_GET[XHProf_Name]) && $_GET[XHProf_Name] == 'ok' &&
(! in_array($_SERVER['SCRIPT_NAME'], ['/xhprof_html/callgraph.php',
'/xhprof_html/index.php']))) {
(! in_array($_SERVER['SCRIPT_NAME'], array('/xhprof_html/callgraph.php',
'/xhprof_html/index.php'))))) {
app_xhprof_start();
register_shutdown_function('app_xhprof_end');
include_once $_SERVER['SCRIPT_FILENAME'];
Expand Down

0 comments on commit 8cb2257

Please sign in to comment.