]> granicus.if.org Git - php/commitdiff
fixed ws
authorGeorge Schlossnagle <gschlossnagle@php.net>
Wed, 25 Dec 2002 21:18:37 +0000 (21:18 +0000)
committerGeorge Schlossnagle <gschlossnagle@php.net>
Wed, 25 Dec 2002 21:18:37 +0000 (21:18 +0000)
sapi/cgi/cgi_main.c

index 04279cc0f69b157f257439c4c6204c4ef39a055d..19d2482ff5794064b8138cf9d32cd30856ee884f 100644 (file)
@@ -1378,18 +1378,18 @@ consult the installation file that came with this distribution, or visit \n\
 
                /* request startup only after we've done all we can to
                   get path_translated */
-        if (php_request_startup(TSRMLS_C)==FAILURE) {
-            php_module_shutdown(TSRMLS_C);
-            return FAILURE;
-        }
+               if (php_request_startup(TSRMLS_C)==FAILURE) {
+                       php_module_shutdown(TSRMLS_C);
+                       return FAILURE;
+               }
                if (no_headers) {
                        SG(headers_sent) = 1;
                        SG(request_info).no_headers = 1;
                }
 
-        /* This actually destructs the elements of the list - ugly hack */
-        zend_llist_apply(&global_vars, (llist_apply_func_t) php_register_command_line_global_vars TSRMLS_CC);
-        zend_llist_destroy(&global_vars);
+               /* This actually destructs the elements of the list - ugly hack */
+               zend_llist_apply(&global_vars, (llist_apply_func_t) php_register_command_line_global_vars TSRMLS_CC);
+               zend_llist_destroy(&global_vars);
                
                if (cgi || SG(request_info).path_translated) {
                        retval = php_fopen_primary_script(&file_handle TSRMLS_CC);