aboutsummaryrefslogtreecommitdiffstats
path: root/php/file_type_recogniser.php
diff options
context:
space:
mode:
authoradam <adam@>2021-02-12 19:54:52 +0200
committeradam <adam@>2021-02-12 19:54:52 +0200
commitaf0c31ec0ebbfabd3f6140b816752ccf96313225 (patch)
treeea9d230d03e82b485c588d424aced2862dbe587f /php/file_type_recogniser.php
parentfd807f7df9ab0b3021e071eb0ff4be6e252938a8 (diff)
downloadfileup-af0c31ec0ebbfabd3f6140b816752ccf96313225.tar.gz
mimetype draft
Diffstat (limited to 'php/file_type_recogniser.php')
-rw-r--r--php/file_type_recogniser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/php/file_type_recogniser.php b/php/file_type_recogniser.php
index f160fb7..d8e1d25 100644
--- a/php/file_type_recogniser.php
+++ b/php/file_type_recogniser.php
@@ -2,7 +2,7 @@
function file_type($path_to_file) {
$file_type_database = new finfo(FILEINFO_SYMLINK|FILEINFO_MIME_TYPE);
- return $file_type_database->file($path_to_file);
+ return $file_type_database->file($path_to_file);
}