mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
Fix undefind filehandle type on INI parsing.
This commit is contained in:
parent
40a71cfdc7
commit
d812ecb75f
1 changed files with 1 additions and 0 deletions
|
@ -145,6 +145,7 @@ PHP_MINIT_FUNCTION(browscap)
|
|||
return FAILURE;
|
||||
}
|
||||
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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue