mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
Corrected the argument-list for getopt. -c expects argument.
This commit is contained in:
parent
5cc16d86b0
commit
cb25b1222e
@ -305,7 +305,7 @@ any .htaccess restrictions anywhere on your site you can leave doc_root undefine
|
||||
|
||||
if (!cgi) { /* never execute the arguments if you are a CGI */
|
||||
request_info.php_argv0 = NULL;
|
||||
while ((c = getopt(argc, argv, "cd:qvisnaeh?vf:")) != -1) {
|
||||
while ((c = getopt(argc, argv, "c:d:qvisnaeh?vf:")) != -1) {
|
||||
switch (c) {
|
||||
case 'f':
|
||||
if (!cgi_started){
|
||||
|
Loading…
Reference in New Issue
Block a user