mirror of
https://github.com/php/php-src.git
synced 2024-09-22 18:37:25 +00:00
- Allow mime_content_type() to work with even a slightly broken mime magic
file.
This commit is contained in:
parent
37bc8289b9
commit
9e6588d6f0
@ -434,9 +434,6 @@ static int apprentice(void)
|
||||
/* parse it */
|
||||
if (parse(line + ws_offset, lineno) != 0)
|
||||
++errs;
|
||||
|
||||
if(errs && !MIME_MAGIC_G(debug))
|
||||
break;
|
||||
}
|
||||
|
||||
(void) fclose(f);
|
||||
|
Loading…
Reference in New Issue
Block a user