Fixed some scrut issues

This commit is contained in:
laf
2015-07-23 17:48:22 +01:00
parent a91ab4d987
commit 1cbd142ad7
9 changed files with 39 additions and 40 deletions
+12
View File
@@ -23,6 +23,18 @@
//
error_reporting(E_ERROR);
function set_debug($debug) {
if (isset($debug)) {
ini_set('display_errors', 1);
ini_set('display_startup_errors', 0);
ini_set('log_errors', 0);
ini_set('allow_url_fopen', 0);
ini_set('error_reporting', E_ALL);
}
}//end set_debug()
// Default directories
$config['project_name'] = 'LibreNMS';
$config['project_id'] = strtolower($config['project_name']);