diff options
| author | Jani Taskinen <jani@php.net> | 2008-08-13 00:53:28 +0000 |
|---|---|---|
| committer | Jani Taskinen <jani@php.net> | 2008-08-13 00:53:28 +0000 |
| commit | e5e6f553a25f972500b792170e03b5903ee924dd (patch) | |
| tree | 4064bc661598ee9214a8517543b249c8d4d0dca0 /sapi/cgi/cgi_main.c | |
| parent | f87d4530c299167f04a4d2cc076edb2432be3280 (diff) | |
| download | php-git-e5e6f553a25f972500b792170e03b5903ee924dd.tar.gz | |
MFH
Diffstat (limited to 'sapi/cgi/cgi_main.c')
| -rw-r--r-- | sapi/cgi/cgi_main.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c index e46a978294..adc80a2f41 100644 --- a/sapi/cgi/cgi_main.c +++ b/sapi/cgi/cgi_main.c @@ -1725,17 +1725,6 @@ consult the installation file that came with this distribution, or visit \n\ CG(interactive) = 0; if (!cgi && !fastcgi) { - if (cgi_sapi_module.php_ini_path_override && cgi_sapi_module.php_ini_ignore) { - no_headers = 1; - php_output_startup(); - php_output_activate(TSRMLS_C); - SG(headers_sent) = 1; - php_printf("You cannot use both -n and -c switch. Use -h for help.\n"); - php_end_ob_buffers(1 TSRMLS_CC); - exit_status = 1; - goto out; - } - while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) { switch (c) { |
