Debug mode

This commit is contained in:
dignajar 2015-07-26 14:35:29 -03:00
parent bce32b615e
commit cf7813ee05
3 changed files with 17 additions and 2 deletions

View File

@ -27,7 +27,9 @@ class Plugin {
'description'=>'',
'author'=>'',
'email'=>'',
'website'=>''
'website'=>'',
'version'=>'',
'releaseDate'=>
);
$this->dbFields = array();

View File

@ -1,5 +1,17 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
// DEBUG MODE
define('DEBUG_MODE', TRUE);
error_reporting(0);
if(DEBUG_MODE)
{
ini_set("display_errors", 1);
ini_set('display_startup_errors',1);
ini_set("track_errors", 1);
ini_set("html_errors", 1);
error_reporting(E_ALL | E_STRICT | E_NOTICE);
}
// Log separator
define('LOG_SEP', ' | ');

View File

@ -5,7 +5,8 @@
"description": "The Open Graph protocol enables any web page to become a rich object in a social graph.",
"author": "Diego",
"email": "",
"website": ""
"website": "",
"version": ""
},
"name": "Name",