// Remove unused overrides, move FirePHP to tools/FirePHP folder and profiling classes to tools/profiling/ folder

This commit is contained in:
rMalie
2012-04-18 14:12:24 +00:00
parent 1dacc896bb
commit 1747b12177
15 changed files with 29 additions and 35 deletions
+4 -4
View File
@@ -62,10 +62,10 @@ require_once(dirname(__FILE__).'/autoload.php');
if (_PS_DEBUG_PROFILING_)
{
include_once(_PS_ROOT_DIR_.'/override/classes/controller/_Controller.php');
include_once(_PS_ROOT_DIR_.'/override/classes/_ObjectModel.php');
include_once(_PS_ROOT_DIR_.'/override/classes/_Hook.php');
include_once(_PS_ROOT_DIR_.'/override/classes/db/_Db.php');
include_once(_PS_TOOL_DIR_.'profiling/Controller.php');
include_once(_PS_TOOL_DIR_.'profiling/ObjectModel.php');
include_once(_PS_TOOL_DIR_.'profiling/Hook.php');
include_once(_PS_TOOL_DIR_.'profiling/Db.php');
}
/* Redefine REQUEST_URI if empty (on some webservers...) */
+1 -1
View File
@@ -26,7 +26,7 @@
*/
define('_PS_MODE_DEV_', true);
define('_PS_DEBUG_PROFILING_', false);
define('_PS_DEBUG_PROFILING_', true);
define('_PS_MODE_DEMO_', false);
$currentDir = dirname(__FILE__);