forked from Cavemanon/cavepaintings
more warehouse_path use
This commit is contained in:
@@ -91,9 +91,8 @@ class IcoFileHandler extends SimpleExtension {
|
||||
private function create_thumb($hash) {
|
||||
global $config;
|
||||
|
||||
$ha = substr($hash, 0, 2);
|
||||
$inname = "images/$ha/$hash";
|
||||
$outname = "thumbs/$ha/$hash";
|
||||
$inname = warehouse_path("images", $hash);
|
||||
$outname = warehouse_path("thumbs", $hash);
|
||||
|
||||
$w = $config->get_int("thumb_width");
|
||||
$h = $config->get_int("thumb_height");
|
||||
|
Reference in New Issue
Block a user