* fix the bug of add file.
This commit is contained in:
@@ -92,6 +92,7 @@ class fileModel extends model
|
||||
}
|
||||
else
|
||||
{
|
||||
if(empty($_FILES[$htmlTagName]['name'])) return $files;
|
||||
extract($_FILES[$htmlTagName]);
|
||||
$file['extension'] = $this->getExtension($name);
|
||||
$file['pathname'] = $this->setPathName(0, $file['extension']);
|
||||
|
||||
Reference in New Issue
Block a user