denied.
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1086 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
parent
a124addf96
commit
58b80f5a72
1 changed files with 4 additions and 0 deletions
|
@ -69,6 +69,10 @@ class IPBan implements Extension {
|
|||
$this->theme->display_bans($event->page, $this->get_bans());
|
||||
}
|
||||
}
|
||||
else {
|
||||
header("HTTP/1.0 403 Access Denied");
|
||||
$this->theme->display_error($event->page, "Permission Denied", "This page is for admins only");
|
||||
}
|
||||
}
|
||||
|
||||
if($event instanceof UserBlockBuildingEvent) {
|
||||
|
|
Reference in a new issue