switched to dirname()
This commit is contained in:
parent
db8fdd5032
commit
f28f528431
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue