Skip to content

Commit

Permalink
ZTS fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilia Alshanetsky committed Oct 14, 2005
1 parent e6566d9 commit a218299
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ext/mime_magic/mime_magic.c
Original file line number Diff line number Diff line change
Expand Up @@ -271,9 +271,7 @@ PHP_MINIT_FUNCTION(mime_magic)
ZEND_INIT_MODULE_GLOBALS(mime_magic, php_mime_magic_init_globals, NULL);
REGISTER_INI_ENTRIES();

mime_global.magicfile = MIME_MAGIC_G(magicfile);

if(mime_global.magicfile) {
if(MIME_MAGIC_G(magicfile)) {
if(apprentice()) {
MIME_MAGIC_G(status) = "invalid magic file, disabled";
} else {
Expand Down

0 comments on commit a218299

Please sign in to comment.