CMXX - Debuglogging update
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
<?php
|
||||
defined(page_security_key) or exit;
|
||||
|
||||
//ini_set('display_errors', '1');
|
||||
//ini_set('display_startup_errors', '1');
|
||||
//error_reporting(E_ALL);
|
||||
if (debug && debug_id == $_SESSION['id']){
|
||||
ini_set('display_errors', '1');
|
||||
ini_set('display_startup_errors', '1');
|
||||
error_reporting(E_ALL);
|
||||
}
|
||||
|
||||
$page = 'firmwaretool';
|
||||
//Check if allowed
|
||||
|
||||
Reference in New Issue
Block a user