mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
MDL-19842 securing algebradebug the same way as text debug - only admins may use it now; backported from HEAD
This commit is contained in:
parent
2a1b339c18
commit
870109388c
1 changed files with 2 additions and 0 deletions
|
@ -25,6 +25,8 @@
|
||||||
$CFG->algebrafilterdirwin = "filter\\algebra";
|
$CFG->algebrafilterdirwin = "filter\\algebra";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
require_login();
|
||||||
|
require_capability('moodle/site:config', get_context_instance(CONTEXT_SYSTEM));
|
||||||
|
|
||||||
$query = urldecode($_SERVER['QUERY_STRING']);
|
$query = urldecode($_SERVER['QUERY_STRING']);
|
||||||
error_reporting(E_ALL);
|
error_reporting(E_ALL);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue