forked from Cavemanon/cavepaintings
port page_matches from score to trunk
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1028 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
@@ -38,7 +38,7 @@ class IcoFileHandler implements Extension {
|
||||
$this->theme->display_image($event->page, $event->image);
|
||||
}
|
||||
|
||||
if(($event instanceof PageRequestEvent) && ($event->page_name == "get_ico")) {
|
||||
if(($event instanceof PageRequestEvent) && $event->page_matches("get_ico")) {
|
||||
global $database;
|
||||
$id = int_escape($event->get_arg(0));
|
||||
$image = $database->get_image($id);
|
||||
|
Reference in New Issue
Block a user