MDL-19842 securing algebradebug the same way as text debug - only admins may use it now; backported from HEAD

This commit is contained in:
skodak
2009-07-17 08:44:39 +00:00
parent 1d474809f0
commit 1dc7d28efd
+3
View File
@@ -25,6 +25,9 @@
$CFG->algebrafilterdirwin = "filter\\algebra";
}
if (!isadmin()) {
die('Only for admins, sorry.');
}
$query = urldecode($_SERVER['QUERY_STRING']);
error_reporting(E_ALL);