aboutsummaryrefslogtreecommitdiffstats
path: root/php/file_type_recogniser.php
diff options
context:
space:
mode:
authorAlex Vitkov <alexvitkov98@gmail.com>2021-02-12 20:07:10 +0200
committerAlex Vitkov <alexvitkov98@gmail.com>2021-02-12 20:07:10 +0200
commitd66cf65a66b2eac4b9ccaf47dc7c0e9577687b3f (patch)
treea35e5ce475ae029dbed3e8178182caa22ae25d5f /php/file_type_recogniser.php
parenteecdb71a05c4e6ee255e097bf93df37a1efb751f (diff)
parent369de870ef6dbcd67ac9316bf714a6ded892eadc (diff)
downloadfileup-d66cf65a66b2eac4b9ccaf47dc7c0e9577687b3f.tar.gz
Merge branch 'master' of https://github.com/alexvitkov/india
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);
}