diff options
author | Alex Vitkov <alexvitkov98@gmail.com> | 2021-02-12 20:07:10 +0200 |
---|---|---|
committer | Alex Vitkov <alexvitkov98@gmail.com> | 2021-02-12 20:07:10 +0200 |
commit | d66cf65a66b2eac4b9ccaf47dc7c0e9577687b3f (patch) | |
tree | a35e5ce475ae029dbed3e8178182caa22ae25d5f /php/file_type_recogniser.php | |
parent | eecdb71a05c4e6ee255e097bf93df37a1efb751f (diff) | |
parent | 369de870ef6dbcd67ac9316bf714a6ded892eadc (diff) | |
download | fileup-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.php | 2 |
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); } |