1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[ticket/10763] Use self when calling get_extension() in filespec class

PHPBB3-10763
This commit is contained in:
Marc Alexander
2012-12-17 19:17:32 +01:00
parent 54d96dfac7
commit 4ae0c78782

View File

@@ -70,7 +70,7 @@ class filespec
$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) ;)
$this->filesize = (@filesize($this->filename)) ? @filesize($this->filename) : $this->filesize;