Debug mode

This commit is contained in:
dignajar 2015-07-26 14:41:40 -03:00
parent e65dfecc4d
commit 553c5717b7
1 changed files with 5 additions and 1 deletions

View File

@ -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);