Use the error reporting defined in config.conf
This commit is contained in:
parent
0a25c48b5d
commit
3e8ea2015f
|
|
@ -41,10 +41,10 @@
|
||||||
define("PROJECT_PATH", $conf['project.path']);
|
define("PROJECT_PATH", $conf['project.path']);
|
||||||
|
|
||||||
//set the error reporting
|
//set the error reporting
|
||||||
ini_set('display_errors', '1');
|
if (isset($conf['error.reporting'])) {
|
||||||
//error_reporting($conf['error.reporting']);
|
ini_set('display_errors', '1');
|
||||||
error_reporting (E_ALL ^ E_NOTICE); // hide notices
|
error_reporting($conf['error.reporting']);
|
||||||
|
}
|
||||||
|
|
||||||
//get the database connection settings
|
//get the database connection settings
|
||||||
//$db_type = $settings['database']['type'];
|
//$db_type = $settings['database']['type'];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue