mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 22:40:39 +02:00
- added confirm box to ucp zebra (adding fried/foe)
- permission fixes for conversions - use more appropiate error message within convertor if source tables could not be found - other tiny fixes git-svn-id: file:///svn/phpbb/trunk@6925 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -50,8 +50,8 @@ class filespec
|
||||
|
||||
$this->filename = $upload_ary['tmp_name'];
|
||||
$this->filesize = $upload_ary['size'];
|
||||
$this->realname = $this->uploadname = trim(htmlspecialchars(basename($upload_ary['name'])));
|
||||
$this->mimetype = $upload_ary['type'];
|
||||
$name = trim(htmlspecialchars(basename($upload_ary['name'])));
|
||||
$this->realname = $this->uploadname = (STRIP) ? stripslashes($name) : $name;
|
||||
|
||||
// Opera adds the name to the mime type
|
||||
$this->mimetype = (strpos($this->mimetype, '; name') !== false) ? str_replace(strstr($this->mimetype, '; name'), '', $this->mimetype) : $this->mimetype;
|
||||
|
Reference in New Issue
Block a user