]> granicus.if.org Git - php/commitdiff
API update
authorZeev Suraski <zeev@php.net>
Fri, 31 Aug 2001 14:34:40 +0000 (14:34 +0000)
committerZeev Suraski <zeev@php.net>
Fri, 31 Aug 2001 14:34:40 +0000 (14:34 +0000)
main/main.c
sapi/apache/mod_php4.c

index 8bbe36415cac1517bd6b7d6faa2b1145a552ab58..7a46bde331a67dfda8ed9065bdfa228b1402b6cc 100644 (file)
@@ -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') {
index ca32551d9987c68baad3103d27c1a1db193cc28a..6619bf45195164abed47e36a54a82115f057f744 100644 (file)
@@ -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;
        }