Permalink
Browse files

MDL-19842 securing algebradebug the same way as text debug - only adm…

…ins may use it now; backported from HEAD
  • Loading branch information...
1 parent 2a1b339 commit 870109388c6764c7c13568c76f7bd06df0e1667e skodak committed Jul 17, 2009
Showing with 2 additions and 0 deletions.
  1. +2 −0 filter/algebra/algebradebug.php
@@ -25,6 +25,8 @@
$CFG->algebrafilterdirwin = "filter\\algebra";
}
+ require_login();
+ require_capability('moodle/site:config', get_context_instance(CONTEXT_SYSTEM));
$query = urldecode($_SERVER['QUERY_STRING']);
error_reporting(E_ALL);

0 comments on commit 8701093

Please sign in to comment.