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