summaryrefslogtreecommitdiff
path: root/main/fopen_wrappers.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/fopen_wrappers.c')
-rw-r--r--main/fopen_wrappers.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/fopen_wrappers.c b/main/fopen_wrappers.c
index 4133f426a8..974f0c47c7 100644
--- a/main/fopen_wrappers.c
+++ b/main/fopen_wrappers.c
@@ -110,6 +110,8 @@ PHPAPI int php_unregister_url_wrapper(char *protocol)
int php_init_fopen_wrappers(void)
{
+ PLS_FETCH();
+
int status = SUCCESS;
if(PG(allow_url_fopen)) {
@@ -123,6 +125,8 @@ int php_init_fopen_wrappers(void)
int php_shutdown_fopen_wrappers(void)
{
+ PLS_FETCH();
+
if(PG(allow_url_fopen)) {
zend_hash_destroy(&fopen_url_wrappers_hash);
}