]> granicus.if.org Git - php/commitdiff
Win32 registry support
authorZeev Suraski <zeev@php.net>
Sun, 18 Apr 1999 15:09:46 +0000 (15:09 +0000)
committerZeev Suraski <zeev@php.net>
Sun, 18 Apr 1999 15:09:46 +0000 (15:09 +0000)
main/main.c
main/php3_compat.h

index 0858a4d97e3d6fc4bc47b7ab19dda28b8d042452..7443733c945e593036b0b1f55635beda30d41a74 100644 (file)
@@ -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);
index 060786a2a43b1c2dd8607cc5ae67c142c4a421eb..0fb90973308d7a24ea1bba46fa1e29b8a2d9ac34 100644 (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 */