Skip to content

Commit

Permalink
Win32 registry support
Browse files Browse the repository at this point in the history
  • Loading branch information
zsuraski committed Apr 18, 1999
1 parent 593e603 commit 2e8fb4e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main/main.c
Expand Up @@ -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);
Expand Down
3 changes: 3 additions & 0 deletions main/php3_compat.h
Expand Up @@ -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 */

0 comments on commit 2e8fb4e

Please sign in to comment.