diff --git a/www/admin/class_test.file.php b/www/admin/class_test.file.php
index 52050903..bf1f8a18 100644
--- a/www/admin/class_test.file.php
+++ b/www/admin/class_test.file.php
@@ -39,11 +39,25 @@ $file = getcwd() . DIRECTORY_SEPARATOR . 'class_test.file.php';
print "GETLINESFROMFILE: $file: " . File::getLinesFromFile($file) . "
";
print "MIMEINFO: $file: " . File::getMimeType($file) . "
";
try {
- print "MIMEINFO: $file: " . File::getMimeType("does_not_exists.txt") . "
";
+ print "MIMEINFO: does_not_exists.txt " . File::getMimeType("does_not_exists.txt") . "
";
} catch (\Exception $e) {
print "Error: " . get_class($e) . ": " . $e->getMessage() . "
";
}
+$files = [
+ 'layout/css/edit.css',
+ 'layout/javascript/edit.jq.js',
+ 'class_test.file.php',
+ getcwd() . DIRECTORY_SEPARATOR . 'class_test.file.php',
+];
+foreach ($files as $file) {
+ try {
+ print "MIMEINFO: $file: " . File::getMimeType($file) . "
";
+ } catch (\Exception $e) {
+ print "Error: " . get_class($e) . ": " . $e->getMessage() . "
";
+ }
+}
+
print "