Debug mode
This commit is contained in:
parent
e65dfecc4d
commit
553c5717b7
|
@ -1,8 +1,12 @@
|
|||
<?php defined('BLUDIT') or die('Bludit CMS.');
|
||||
|
||||
// DEBUG MODE
|
||||
// Debug mode
|
||||
define('DEBUG_MODE', TRUE);
|
||||
|
||||
// Turn off all error reporting
|
||||
error_reporting(0);
|
||||
|
||||
// Turn on all error reporting
|
||||
if(DEBUG_MODE)
|
||||
{
|
||||
ini_set("display_errors", 1);
|
||||
|
|
Loading…
Reference in New Issue