X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=index.php;h=7f2afffb5a01b0cac1a36953f450152150ab20ea;hb=be682a3f8c802fb0f61b38f4689decb10eed1715;hp=6f011e7e5bba37bcf7a0dce17765a75625c9ca6d;hpb=6455461c196fcb8e7c0047870d480e4a97986709;p=quix0rs-gnu-social.git diff --git a/index.php b/index.php index 6f011e7e5b..7f2afffb5a 100644 --- a/index.php +++ b/index.php @@ -37,12 +37,17 @@ * @license GNU Affero General Public License http://www.gnu.org/licenses/ */ +$_startTime = microtime(true); +$_perfCounters = array(); + define('INSTALLDIR', dirname(__FILE__)); define('STATUSNET', true); define('LACONICA', true); // compatibility require_once INSTALLDIR . '/lib/common.php'; +register_shutdown_function('common_log_perf_counters'); + $user = null; $action = null;