// display_errors and sql debug is automatically set to on when dev mode is activated
This commit is contained in:
+11
-2
@@ -26,8 +26,17 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/* Debug only */
|
/* Debug only */
|
||||||
@ini_set('display_errors', 'on');
|
define('_PS_MODE_DEV_', true);
|
||||||
define('_PS_DEBUG_SQL_', true);
|
if (_PS_MODE_DEV_)
|
||||||
|
{
|
||||||
|
@ini_set('display_errors', 'on');
|
||||||
|
define('_PS_DEBUG_SQL_', true);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
@ini_set('display_errors', 'off');
|
||||||
|
define('_PS_DEBUG_SQL_', false);
|
||||||
|
}
|
||||||
|
|
||||||
$start_time = microtime(true);
|
$start_time = microtime(true);
|
||||||
|
|
||||||
|
|||||||
@@ -25,7 +25,6 @@
|
|||||||
* International Registered Trademark & Property of PrestaShop SA
|
* International Registered Trademark & Property of PrestaShop SA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
define('_PS_MODE_DEV_', true);
|
|
||||||
define('_PS_DEBUG_PROFILING_', false);
|
define('_PS_DEBUG_PROFILING_', false);
|
||||||
define('_PS_MODE_DEMO_', false);
|
define('_PS_MODE_DEMO_', false);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user