From 62e13eda96ebd213318d97686b4a8b749d848432 Mon Sep 17 00:00:00 2001 From: Shish Date: Fri, 30 Mar 2012 20:28:09 +0100 Subject: [PATCH] always create --- core/util.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/util.inc.php b/core/util.inc.php index 8dff786e..9fce4dda 100644 --- a/core/util.inc.php +++ b/core/util.inc.php @@ -647,7 +647,7 @@ function warehouse_path(/*string*/ $base, /*string*/ $hash, /*bool*/ $create=tru function data_path($filename) { $filename = "data/" . $filename; - if($create && !file_exists(dirname($filename))) mkdir(dirname($filename), 0755, true); + if(!file_exists(dirname($filename))) mkdir(dirname($filename), 0755, true); return $filename; }