X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=index.php;h=7f2afffb5a01b0cac1a36953f450152150ab20ea;hb=6a6584741f3d91bff2461421ef220b2bcae7847d;hp=37c157b01fcc68a71ba100fe0032b4d62353ed64;hpb=47f31bce47b182aa55c02c7872d7e473d3ab10f2;p=quix0rs-gnu-social.git diff --git a/index.php b/index.php index 37c157b01f..7f2afffb5a 100644 --- a/index.php +++ b/index.php @@ -38,6 +38,7 @@ */ $_startTime = microtime(true); +$_perfCounters = array(); define('INSTALLDIR', dirname(__FILE__)); define('STATUSNET', true); @@ -45,6 +46,8 @@ define('LACONICA', true); // compatibility require_once INSTALLDIR . '/lib/common.php'; +register_shutdown_function('common_log_perf_counters'); + $user = null; $action = null;