@@ -14,10 +14,10 @@ |
||
14 | 14 | private function createWritableFolder($file) |
15 | 15 | { |
16 | 16 | $currPath = ''; |
17 | - $path = explode( "/" , $file ); |
|
18 | - $currPath .= trim( $path[0] ); |
|
19 | - if($currPath != '.' && $currPath != '/' ) { |
|
20 | - @mkdir( DIR_STORAGE.$currPath , 0777 , true ); |
|
17 | + $path = explode("/", $file); |
|
18 | + $currPath .= trim($path[0]); |
|
19 | + if ($currPath != '.' && $currPath != '/') { |
|
20 | + @mkdir(DIR_STORAGE . $currPath, 0777, true); |
|
21 | 21 | } |
22 | 22 | |
23 | 23 | } |