[*] Project: Improve debuging with new constant _PS_DEBUG_PROFILING_ in defines.inc.php which include debug files from override folder

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10840 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2011-12-01 17:22:01 +00:00
parent bf9a629c94
commit 16e07c2766
3 changed files with 85 additions and 71 deletions
+8
View File
@@ -59,6 +59,14 @@ require_once(dirname(__FILE__).'/settings.inc.php');
require_once(dirname(__FILE__).'/defines.inc.php');
require_once(dirname(__FILE__).'/autoload.php');
if (_PS_DEBUG_PROFILING_)
{
include_once(_PS_ROOT_DIR_.'/override/classes/_Controller.php');
include_once(_PS_ROOT_DIR_.'/override/classes/_Module.php');
include_once(_PS_ROOT_DIR_.'/override/classes/_ObjectModel.php');
include_once(_PS_ROOT_DIR_.'/override/classes/db/_Db.php');
}
/* Redefine REQUEST_URI if empty (on some webservers...) */
if (!isset($_SERVER['REQUEST_URI']) OR empty($_SERVER['REQUEST_URI']))
{