From af0c31ec0ebbfabd3f6140b816752ccf96313225 Mon Sep 17 00:00:00 2001 From: adam Date: Fri, 12 Feb 2021 19:54:52 +0200 Subject: mimetype draft --- php/file_type_recogniser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'php/file_type_recogniser.php') 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); } -- cgit v1.2.3