mirror of
https://github.com/kleeja-official/kleeja.git
synced 2025-12-15 20:49:41 +01:00
Update defaultUploader.php
only variables should be passed by reference
This commit is contained in:
@@ -514,7 +514,8 @@ class defaultUploader implements KleejaUploader
|
||||
}
|
||||
|
||||
// get the extension of file
|
||||
$fileInfo['fileExtension'] = strtolower(array_pop(explode('.', $fileInfo['originalFileName'])));
|
||||
$originalFileName = explode('.', $fileInfo['originalFileName']);
|
||||
$fileInfo['fileExtension'] = strtolower(array_pop($originalFileName));
|
||||
|
||||
|
||||
// them the size
|
||||
|
||||
Reference in New Issue
Block a user