diff options
author | M.Gergo | 2020-03-25 19:41:51 +0100 |
---|---|---|
committer | M.Gergo | 2020-03-25 19:41:51 +0100 |
commit | a831e7969d3a4595d7de39bc0796add131425ee4 (patch) | |
tree | 67e6bfc73d0008cec7713ee57037f48a35de46ac /mayor-orig/mayor-base | |
parent | c84903ec54e700bae146f44f1e3ddbba1a5b5eef (diff) | |
download | mayor-rev4638.tar.gz mayor-rev4638.zip |
Rev: 4638rev4638
Diffstat (limited to 'mayor-orig/mayor-base')
-rw-r--r-- | mayor-orig/mayor-base/log/mayor-base.rev | 2 | ||||
-rw-r--r-- | mayor-orig/mayor-base/www/include/share/net/upload.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mayor-orig/mayor-base/log/mayor-base.rev b/mayor-orig/mayor-base/log/mayor-base.rev index 95871898..7ea43f6c 100644 --- a/mayor-orig/mayor-base/log/mayor-base.rev +++ b/mayor-orig/mayor-base/log/mayor-base.rev @@ -1 +1 @@ -4637 +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; |