MDL-19842 securing algebradebug the same way as text debug - only admins may use it now; backported from HEAD
This commit is contained in:
@@ -25,6 +25,9 @@
|
||||
$CFG->algebrafilterdirwin = "filter\\algebra";
|
||||
}
|
||||
|
||||
if (!isadmin()) {
|
||||
die('Only for admins, sorry.');
|
||||
}
|
||||
|
||||
$query = urldecode($_SERVER['QUERY_STRING']);
|
||||
error_reporting(E_ALL);
|
||||
|
||||
Reference in New Issue
Block a user