mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 23:07:39 +02:00
[ticket/10763] Use self when calling get_extension() in filespec class
PHPBB3-10763
This commit is contained in:
@@ -70,7 +70,7 @@ class filespec
|
|||||||
$this->mimetype = 'application/octetstream';
|
$this->mimetype = 'application/octetstream';
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->extension = strtolower(filespec::get_extension($this->realname));
|
$this->extension = strtolower(self::get_extension($this->realname));
|
||||||
|
|
||||||
// Try to get real filesize from temporary folder (not always working) ;)
|
// Try to get real filesize from temporary folder (not always working) ;)
|
||||||
$this->filesize = (@filesize($this->filename)) ? @filesize($this->filename) : $this->filesize;
|
$this->filesize = (@filesize($this->filename)) ? @filesize($this->filename) : $this->filesize;
|
||||||
|
Reference in New Issue
Block a user