Browse Source

get the correct metadate from updated folders to put in the cache

tags/v4.5.0beta1
Robin Appelman 12 years ago
parent
commit
549541215e
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      lib/filecache/update.php

+ 3
- 3
lib/filecache/update.php View File

@@ -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;

Loading…
Cancel
Save