summaryrefslogtreecommitdiff
path: root/sapi/cgi/cgi_main.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-12-04 13:25:41 +0000
committerZeev Suraski <zeev@php.net>1999-12-04 13:25:41 +0000
commitda5464b145be141a4b9a7130d554f73e022acc85 (patch)
tree96fe417491a97c49b3c9cc3b3d6557107fa3205d /sapi/cgi/cgi_main.c
parent502bb337fe4b4df88dcc5531c62326ed49a08b2e (diff)
downloadphp-git-da5464b145be141a4b9a7130d554f73e022acc85.tar.gz
- zend_file_handles must now flag whether their .filename property should be
free by Zend or not (uses e*() functions)
Diffstat (limited to 'sapi/cgi/cgi_main.c')
-rw-r--r--sapi/cgi/cgi_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c
index 3ed12fe4d5..078a815de2 100644
--- a/sapi/cgi/cgi_main.c
+++ b/sapi/cgi/cgi_main.c
@@ -466,6 +466,7 @@ any .htaccess restrictions anywhere on your site you can leave doc_root undefine
}
}
+ file_handle.free_filename = 0;
switch (behavior) {
case PHP_MODE_STANDARD:
php_execute_script(&file_handle CLS_CC ELS_CC PLS_CC);