fix Scanner->scan setting the filesize to 0 for files
This commit is contained in:
parent
15b8a3f987
commit
5a173b901f
|
@ -101,10 +101,10 @@ class Scanner {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if ($size !== -1) {
|
||||
$this->cache->put($path, array('size' => $size));
|
||||
}
|
||||
}
|
||||
return $size;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue