diff options
| author | Marcus Boerger <helly@php.net> | 2003-08-17 18:36:27 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2003-08-17 18:36:27 +0000 |
| commit | cbb011da2d1c1428c96418622301ee0499127e57 (patch) | |
| tree | 708abf9159cc0625fc2b0b0b341b48b30ca17b92 /sapi/cgi/cgi_main.c | |
| parent | fbfd812a9f10076b24d0a4a33bef5c54d8a687f6 (diff) | |
| download | php-git-cbb011da2d1c1428c96418622301ee0499127e57.tar.gz | |
Fix interactive mode
Diffstat (limited to 'sapi/cgi/cgi_main.c')
| -rw-r--r-- | sapi/cgi/cgi_main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c index ebdf9e8ef4..24e001efe2 100644 --- a/sapi/cgi/cgi_main.c +++ b/sapi/cgi/cgi_main.c @@ -922,7 +922,6 @@ int main(int argc, char *argv[]) char *orig_optarg=optarg; char *script_file=NULL; zend_llist global_vars; - int interactive=0; #if FORCE_CGI_REDIRECT int force_redirect = 1; char *redirect_status_env = NULL; @@ -1312,7 +1311,7 @@ consult the installation file that came with this distribution, or visit \n\ case 'a': /* interactive mode */ printf("Interactive mode enabled\n\n"); - interactive=1; + CG(interactive) = 1; break; case 'C': /* don't chdir to the script directory */ |
