aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/filecache/update.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/filecache/update.php b/lib/filecache/update.php
index 2e3eb67da08..dd77f491ca0 100644
--- a/lib/filecache/update.php
+++ b/lib/filecache/update.php
@@ -159,9 +159,9 @@ class OC_FileCache_Update{
foreach($cachedContent as $file){
$size+=$file['size'];
}
- $mtime=$view->filemtime($path);
- $ctime=$view->filectime($path);
- $writable=$view->is_writable($path);
+ $mtime=$view->filemtime($path.'/');
+ $ctime=$view->filectime($path.'/');
+ $writable=$view->is_writable($path.'/');
OC_FileCache::put($path,array('size'=>$size,'mtime'=>$mtime,'ctime'=>$ctime,'mimetype'=>$mimetype,'writable'=>$writable));
}else{
$count=0;