move warehouse directory creation into a single place

This commit is contained in:
Shish
2010-04-23 05:46:07 +01:00
parent ee292c2a25
commit 2c1fa2fd7f
6 changed files with 4 additions and 7 deletions

View File

@ -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));
// }
}