switched to dirname()
This commit is contained in:
parent
db8fdd5032
commit
f28f528431
|
@ -569,7 +569,7 @@ class Storage {
|
|||
* @param \OC\Files\View $view view on data/user/
|
||||
*/
|
||||
private static function createMissingDirectories($filename, $view) {
|
||||
$dirname = \OC_Filesystem::normalizePath(pathinfo($filename, PATHINFO_DIRNAME));
|
||||
$dirname = \OC_Filesystem::normalizePath(dirname($filename));
|
||||
$dirParts = explode('/', $dirname);
|
||||
$dir = "/files_versions";
|
||||
foreach ($dirParts as $part) {
|
||||
|
|
Loading…
Reference in New Issue