Skip to content

Commit

Permalink
Only admins can execute me !!
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed May 7, 2003
1 parent e51de1e commit 95f6c01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backup/backup.php
Expand Up @@ -24,9 +24,9 @@
//Check login
require_login();

//Check admin
//Check admin
if (!isadmin()) {
error("You need to be an admin user to use this page.", "$CFG->wwwroot/login/index.php");
}

//Check site
Expand Down

0 comments on commit 95f6c01

Please sign in to comment.