summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2007-08-28 12:12:02 +0000
committerDerick Rethans <derick@php.net>2007-08-28 12:12:02 +0000
commita416772467a2b5a2c07e35e65909642e66f21801 (patch)
tree7f17b197d303b6ad52c3483824e8b2bbc8302097
parentb119351c95dede28f01b6f59672fddf04bc4fd88 (diff)
downloadphp-git-a416772467a2b5a2c07e35e65909642e66f21801.tar.gz
- Fixed allow_url_fopen_list/allow_url_include_list handling by making sure
the pointers are initialized. Thanks to Sara.
-rw-r--r--main/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/main.c b/main/main.c
index ecef7f81ef..d3250d9f33 100644
--- a/main/main.c
+++ b/main/main.c
@@ -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, "");