forked from Cavemanon/cavepaintings
move warehouse directory creation into a single place
This commit is contained in:
@ -41,7 +41,6 @@ class SVGFileHandler implements Extension {
|
||||
// }
|
||||
// else {
|
||||
// FIXME: scale image, as not all boards use 192x192
|
||||
mkdir(dirname(warehouse_path("thumbs", $hash)), 0755, true);
|
||||
copy("ext/handle_svg/thumb.jpg", warehouse_path("thumbs", $hash));
|
||||
// }
|
||||
}
|
||||
|
Reference in New Issue
Block a user