mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/15692] Add comment
PHPBB3-15692
This commit is contained in:
parent
0c1bf3c561
commit
252bb7704c
1 changed files with 3 additions and 0 deletions
|
@ -317,6 +317,9 @@ class storage
|
||||||
|
|
||||||
if (!$row)
|
if (!$row)
|
||||||
{
|
{
|
||||||
|
// Don't call the method, because it check's if the file is tracked
|
||||||
|
// and is not (for now). This method check if the file exists using the adapter
|
||||||
|
// at the beginning.
|
||||||
$file = new file_info($this->get_adapter(), $path);
|
$file = new file_info($this->get_adapter(), $path);
|
||||||
$sql_ary['filesize'] = $file->size;
|
$sql_ary['filesize'] = $file->size;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue