summaryrefslogtreecommitdiff
path: root/main/main.c
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2000-08-13 18:00:50 +0000
committerStanislav Malyshev <stas@php.net>2000-08-13 18:00:50 +0000
commit5090b1e8d5d3a3dc2afcb418d059520e8b9dd528 (patch)
tree35d04f58ed639d32ca9e59f9f817b67be3c15dad /main/main.c
parent93acbedce8afa8f77478eea30985e89efcdc61d1 (diff)
downloadphp-git-5090b1e8d5d3a3dc2afcb418d059520e8b9dd528.tar.gz
Fix zend_fiel_handle handling. Should fix URL include
and various opened_path inconsistencies.
Diffstat (limited to 'main/main.c')
-rw-r--r--main/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/main.c b/main/main.c
index 8186830c3e..c400928b5b 100644
--- a/main/main.c
+++ b/main/main.c
@@ -1149,6 +1149,7 @@ PHPAPI void php_execute_script(zend_file_handle *primary_file CLS_DC ELS_DC PLS_
if (PG(auto_prepend_file) && PG(auto_prepend_file)[0]) {
prepend_file.filename = PG(auto_prepend_file);
+ prepend_file.opened_path = NULL;
prepend_file.free_filename = 0;
prepend_file.type = ZEND_HANDLE_FILENAME;
prepend_file_p = &prepend_file;
@@ -1157,6 +1158,7 @@ PHPAPI void php_execute_script(zend_file_handle *primary_file CLS_DC ELS_DC PLS_
}
if (PG(auto_append_file) && PG(auto_append_file)[0]) {
append_file.filename = PG(auto_append_file);
+ append_file.opened_path = NULL;
append_file.free_filename = 0;
append_file.type = ZEND_HANDLE_FILENAME;
append_file_p = &append_file;