mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Win32 registry support
This commit is contained in:
@@ -1189,6 +1189,9 @@ static void php3_parse(zend_file_handle *primary_file CLS_DC ELS_DC)
|
||||
}
|
||||
_php3_hash_environment();
|
||||
|
||||
#if WIN32||WINNT
|
||||
UpdateIniFromRegistry(primary_file->filename);
|
||||
#endif
|
||||
|
||||
if (PG(auto_prepend_file) && PG(auto_prepend_file)[0]) {
|
||||
prepend_file.filename = PG(auto_prepend_file);
|
||||
|
||||
@@ -77,4 +77,7 @@
|
||||
#define zend_print_pval zend_print_zval
|
||||
#define zend_print_pval_r zend_print_zval_r
|
||||
|
||||
|
||||
#define function_entry zend_function_entry
|
||||
|
||||
#endif /* _PHP3_COMPAT_H */
|
||||
|
||||
Reference in New Issue
Block a user