From ff3a100975b80c7a69668815ba5c75413861f1ee Mon Sep 17 00:00:00 2001 From: M.Gergo Date: Thu, 26 Mar 2020 03:05:03 +0100 Subject: Rev: 4638 --- mayor-orig/mayor-base/log/mayor-base.rev | 2 +- mayor-orig/mayor-base/www/include/share/net/upload.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'mayor-orig/mayor-base') diff --git a/mayor-orig/mayor-base/log/mayor-base.rev b/mayor-orig/mayor-base/log/mayor-base.rev index b02620cf..7ea43f6c 100644 --- a/mayor-orig/mayor-base/log/mayor-base.rev +++ b/mayor-orig/mayor-base/log/mayor-base.rev @@ -1 +1 @@ -4636 +4638 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; -- cgit v1.2.3