mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
@@ -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']);
|
||||
|
||||
Reference in New Issue
Block a user