Debug mode
This commit is contained in:
parent
bce32b615e
commit
cf7813ee05
|
@ -27,7 +27,9 @@ class Plugin {
|
|||
'description'=>'',
|
||||
'author'=>'',
|
||||
'email'=>'',
|
||||
'website'=>''
|
||||
'website'=>'',
|
||||
'version'=>'',
|
||||
'releaseDate'=>
|
||||
);
|
||||
|
||||
$this->dbFields = array();
|
||||
|
|
|
@ -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', ' | ');
|
||||
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue