From 465313a5cddff825a6a43bf0b08f77ecabb719dd Mon Sep 17 00:00:00 2001 From: tDidierjean Date: Wed, 11 Apr 2012 11:53:44 +0000 Subject: [PATCH] // change page time load calculation --- admin-dev/index.php | 4 +++- admin-dev/themes/default/template/footer.tpl | 2 +- classes/controller/AdminController.php | 10 +++++----- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/admin-dev/index.php b/admin-dev/index.php index 2f8543893..b05f40c13 100644 --- a/admin-dev/index.php +++ b/admin-dev/index.php @@ -25,7 +25,9 @@ * International Registered Trademark & Property of PrestaShop SA */ +$timer_start = microtime(true); define('_PS_ADMIN_DIR_', getcwd()); + require(dirname(__FILE__).'/../config/config.inc.php'); require(dirname(__FILE__).'/functions.php'); @@ -38,4 +40,4 @@ if (!isset($_REQUEST['controller']) && isset($_REQUEST['tab'])) $_REQUEST['controller'] = strtolower($_REQUEST['tab']); // Prepare and trigger admin dispatcher -Dispatcher::getInstance()->dispatch(); +Dispatcher::getInstance()->dispatch(); \ No newline at end of file diff --git a/admin-dev/themes/default/template/footer.tpl b/admin-dev/themes/default/template/footer.tpl index d6f7bc2ec..d4cd09334 100644 --- a/admin-dev/themes/default/template/footer.tpl +++ b/admin-dev/themes/default/template/footer.tpl @@ -31,7 +31,7 @@