summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-08-31 14:34:40 +0000
committerZeev Suraski <zeev@php.net>2001-08-31 14:34:40 +0000
commit6bba521dd3d867aae2a80603b8b27000c9320d67 (patch)
treee7490aebfa1dd49c93c64d4280f1e705a3e33204
parentcc747779ce8b987b7f64ebe050f50ddfd5394475 (diff)
downloadphp-git-6bba521dd3d867aae2a80603b8b27000c9320d67.tar.gz
API update
-rw-r--r--main/main.c2
-rw-r--r--sapi/apache/mod_php4.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/main/main.c b/main/main.c
index 8bbe36415c..7a46bde331 100644
--- a/main/main.c
+++ b/main/main.c
@@ -1307,7 +1307,7 @@ PHPAPI int php_execute_script(zend_file_handle *primary_file TSRMLS_DC)
} else {
append_file_p = NULL;
}
- zend_execute_scripts(ZEND_REQUIRE TSRMLS_CC, 3, prepend_file_p, primary_file, append_file_p);
+ zend_execute_scripts(ZEND_REQUIRE TSRMLS_CC, NULL, 3, prepend_file_p, primary_file, append_file_p);
} zend_end_try();
if (old_cwd[0] != '\0') {
diff --git a/sapi/apache/mod_php4.c b/sapi/apache/mod_php4.c
index ca32551d99..6619bf4519 100644
--- a/sapi/apache/mod_php4.c
+++ b/sapi/apache/mod_php4.c
@@ -498,7 +498,7 @@ static int send_php(request_rec *r, int display_source_mode, char *filename)
fh.opened_path = NULL;
fh.free_filename = 0;
fh.type = ZEND_HANDLE_FILENAME;
- zend_execute_scripts(ZEND_INCLUDE TSRMLS_CC, 1, &fh);
+ zend_execute_scripts(ZEND_INCLUDE TSRMLS_CC, NULL, 1, &fh);
return OK;
}