]> granicus.if.org Git - php/commitdiff
- Fixed allow_url_fopen_list/allow_url_include_list handling by making sure
authorDerick Rethans <derick@php.net>
Tue, 28 Aug 2007 12:12:02 +0000 (12:12 +0000)
committerDerick Rethans <derick@php.net>
Tue, 28 Aug 2007 12:12:02 +0000 (12:12 +0000)
  the pointers are initialized. Thanks to Sara.

main/main.c

index ecef7f81ef7ba4eda07e8770e79770d4de4646a2..d3250d9f33864611fa9eaf5826280894cae97a22 100644 (file)
@@ -1814,6 +1814,8 @@ int php_module_startup(sapi_module_struct *sf, zend_module_entry *additional_mod
        PG(error_handling) = EH_NORMAL;
        PG(disable_functions) = NULL;
        PG(disable_classes) = NULL;
+       PG(allow_url_fopen_list) = NULL;
+       PG(allow_url_include_list) = NULL;
 
 #if HAVE_SETLOCALE
        setlocale(LC_CTYPE, "");