forked from Cavemanon/cavepaintings
requestcontext stuff is messy, go back to globals :(
This commit is contained in:
@@ -35,7 +35,7 @@ class IcoFileHandler implements Extension {
|
||||
global $config;
|
||||
global $database;
|
||||
$id = int_escape($event->get_arg(0));
|
||||
$image = Image::by_id($config, $database, $id);
|
||||
$image = Image::by_id($id);
|
||||
$hash = $image->hash;
|
||||
$ha = substr($hash, 0, 2);
|
||||
|
||||
|
Reference in New Issue
Block a user