diff --git a/core/util.inc.php b/core/util.inc.php index 471af9bf..358dbeb0 100644 --- a/core/util.inc.php +++ b/core/util.inc.php @@ -502,6 +502,7 @@ function format_text($string) { function warehouse_path($base, $hash, $create=true) { $ab = substr($hash, 0, 2); + $cd = substr($hash, 2, 2); $pa = "$base/$ab/$hash"; if($create && !file_exists(dirname($pa))) mkdir(dirname($pa), 0755, true); return $pa;