debugging and error reporting level fixes and improvements MDL-6671
This commit is contained in:
@@ -15,10 +15,8 @@
|
||||
$lifetime = $CFG->filelifetime;
|
||||
}
|
||||
|
||||
// remove moodle specific debug messages by switching the sign bit in error level bitmask
|
||||
if ($CFG->debug > 0) {
|
||||
$CFG->debug = $CFG->debug | 0x80000000;
|
||||
}
|
||||
// disable moodle specific debug messages
|
||||
disable_debugging();
|
||||
|
||||
$relativepath = get_file_argument('file.php');
|
||||
$forcedownload = optional_param('forcedownload', 0, PARAM_BOOL);
|
||||
|
||||
Reference in New Issue
Block a user