Fix undefind filehandle type on INI parsing.

This commit is contained in:
Stanislav Malyshev 2001-01-08 19:45:12 +00:00
parent 40a71cfdc7
commit d812ecb75f

View file

@ -145,6 +145,7 @@ PHP_MINIT_FUNCTION(browscap)
return FAILURE; return FAILURE;
} }
fh.filename = browscap; fh.filename = browscap;
fh.type = ZEND_HANDLE_FP;
zend_parse_ini_file(&fh, 1, (zend_ini_parser_cb_t) php_browscap_parser_cb, &browser_hash); zend_parse_ini_file(&fh, 1, (zend_ini_parser_cb_t) php_browscap_parser_cb, &browser_hash);
} }