added file uploads

This commit is contained in:
2025-10-24 09:30:48 +02:00
parent 0131f472f0
commit 6af9d8dc32
5 changed files with 654 additions and 30 deletions

View File

@@ -35,6 +35,7 @@ class FileController extends mfBaseController {
}
if(preg_match('/\.([^.]+)/',$filename,$m)) {
if (!isset($ext)) $ext = '';
$ext .= $m[1];
} else {
throw new Exception("File not found", 4042);