mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-11 12:11:19 +00:00
make fopen() silent in fileSize()
This commit is contained in:
parent
357c0c1bac
commit
7bac4e730e
|
@ -69,7 +69,7 @@ class SeedDMS_Core_File {
|
|||
* @return bool|int
|
||||
*/
|
||||
static function fileSize($file) { /* {{{ */
|
||||
if(!$a = fopen($file, 'r'))
|
||||
if(!$a = @fopen($file, 'r'))
|
||||
return false;
|
||||
fseek($a, 0, SEEK_END);
|
||||
$filesize = ftell($a);
|
||||
|
|
Loading…
Reference in New Issue
Block a user