diff --git a/app/controllers/Media.php b/app/controllers/Media.php index fb2a43d..fa6c814 100644 --- a/app/controllers/Media.php +++ b/app/controllers/Media.php @@ -215,7 +215,7 @@ public static function uploadFile($file, string $path): bool */ public static function getMaxUploadFileSize(): mixed { - return min(array_map(fn($key) => \Aurora\System\Helper::getPHPSize(ini_get($key)), [ 'post_max_size', 'upload_max_filesize' ])); + return min(array_map(fn($key) => \Aurora\System\Helper::getPhpSize(ini_get($key)), [ 'post_max_size', 'upload_max_filesize' ])); } /** diff --git a/app/views/admin/settings.php b/app/views/admin/settings.php index 4c789b3..203f837 100755 --- a/app/views/admin/settings.php +++ b/app/views/admin/settings.php @@ -164,7 +164,7 @@