1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/15276] Add methods to get file info

PHPBB3-15276
This commit is contained in:
Rubén Calvo
2017-08-07 19:54:11 +02:00
parent 4c5114c14d
commit 946f0348a2
3 changed files with 85 additions and 0 deletions

View File

@@ -192,4 +192,9 @@ class storage
$adapter->put_contents($path, stream_get_contents($resource));
}
}
public function get_fileinfo($path)
{
return new file_info($adapter, $path);
}
}