diff options
author | adam <adam@> | 2021-02-12 19:54:52 +0200 |
---|---|---|
committer | adam <adam@> | 2021-02-12 19:54:52 +0200 |
commit | af0c31ec0ebbfabd3f6140b816752ccf96313225 (patch) | |
tree | ea9d230d03e82b485c588d424aced2862dbe587f /php/file_type_recogniser.php | |
parent | fd807f7df9ab0b3021e071eb0ff4be6e252938a8 (diff) | |
download | fileup-af0c31ec0ebbfabd3f6140b816752ccf96313225.tar.gz |
mimetype draft
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); } |