// Move settings of MODE_DEV in defines.inc.php

This commit is contained in:
rGaillard committed 2012-11-08 16:28:21 +00:00
1 parent d00826eabb
commit a5d944924e
2 files changed
+19 -17

No files matched your search

+17
View File
@@ -25,6 +25,23 @@
* International Registered Trademark & Property of PrestaShop SA
*/
/* Debug only */
define('_PS_MODE_DEV_', true);
if (_PS_MODE_DEV_)
{
@ini_set('display_errors', 'on');
define('_PS_DEBUG_SQL_', true);
/* Compatibility warning */
define('_PS_DISPLAY_COMPATIBILITY_WARNING_', true);
}
else
{
@ini_set('display_errors', 'off');
define('_PS_DEBUG_SQL_', false);
/* Compatibility warning */
define('_PS_DISPLAY_COMPATIBILITY_WARNING_', false);
}
define('_PS_DEBUG_PROFILING_', false);
define('_PS_MODE_DEMO_', false);