[*] Project: Improve debuging with new constant _PS_DEBUG_PROFILING_ in defines.inc.php which include debug files from override folder
This commit is contained in:
@@ -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']))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user