diff options
author | ringmaster <epithet@gmail.com> | 2013-11-14 09:42:56 -0500 |
---|---|---|
committer | ringmaster <epithet@gmail.com> | 2013-11-14 09:42:56 -0500 |
commit | bd3ead0d3181f74fd666b21ef83df8a6b2efc12d (patch) | |
tree | 5ccdedf4c35d0530d94d29ea3a6ff36fa10f52a0 /lib | |
parent | ca675d7b085f2c13a51dcd7bdbf05f8f1e20921d (diff) | |
download | nextcloud-server-bd3ead0d3181f74fd666b21ef83df8a6b2efc12d.tar.gz nextcloud-server-bd3ead0d3181f74fd666b21ef83df8a6b2efc12d.zip |
Compare dirname() results to DIRECTORY_SEPARATOR, not '/'
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/files/cache/updater.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/files/cache/updater.php b/lib/private/files/cache/updater.php index da223567001..d45c5e17fc8 100644 --- a/lib/private/files/cache/updater.php +++ b/lib/private/files/cache/updater.php @@ -142,7 +142,7 @@ class Updater { $cache->update($id, array('mtime' => $time, 'etag' => $storage->getETag($internalPath))); if ($realPath !== '') { $realPath = dirname($realPath); - if($realPath === '/') { + if($realPath === DIRECTORY_SEPARATOR ) { $realPath = ""; } // check storage for parent in case we change the storage in this step |