Corrected the argument-list for getopt. -c expects argument.

This commit is contained in:
Jakub Skopal 1999-09-06 01:33:13 +00:00
parent 5cc16d86b0
commit cb25b1222e

View File

@ -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){