aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/mayor-base/www/include/share
diff options
context:
space:
mode:
authorM.Gergo2020-03-26 03:05:03 +0100
committerM.Gergo2020-03-26 03:05:03 +0100
commitff3a100975b80c7a69668815ba5c75413861f1ee (patch)
tree42f4404b13140d4ae0d03d68701d13820ac00ed7 /mayor-orig/mayor-base/www/include/share
parent7651026adb5dbb1dc672d9772335125170d2d091 (diff)
downloadmayor-ff3a100975b80c7a69668815ba5c75413861f1ee.tar.gz
mayor-ff3a100975b80c7a69668815ba5c75413861f1ee.zip
Rev: 4638
Diffstat (limited to 'mayor-orig/mayor-base/www/include/share')
-rw-r--r--mayor-orig/mayor-base/www/include/share/net/upload.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mayor-orig/mayor-base/www/include/share/net/upload.php b/mayor-orig/mayor-base/www/include/share/net/upload.php
index 7181c94e..d58708ed 100644
--- a/mayor-orig/mayor-base/www/include/share/net/upload.php
+++ b/mayor-orig/mayor-base/www/include/share/net/upload.php
@@ -99,7 +99,7 @@ function filename2ext($filename) {
$ext = substr(strrchr($filename, '.'), 1);
$ext = substr($filename, strrpos($filename, '.') + 1);
$ext = preg_replace('/^.*\.([^.]+)$/D', '$1', $filename);
- $exts = split("[/\\.]", $filename);
+ $exts = explode('.', $filename);
$n = count($exts)-1;
$ext = $exts[$n];
return $ext;