From: krakjoe Date: Sun, 10 Nov 2013 23:06:20 +0000 (+0000) Subject: ini working X-Git-Tag: php-5.6.0alpha1~110^2~501 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=92c0fbebeda49a9e5d327f4b08e89df2d1af98ff;p=php ini working --- diff --git a/phpdbg.c b/phpdbg.c index 2ebc518484..a4984bb7aa 100644 --- a/phpdbg.c +++ b/phpdbg.c @@ -214,7 +214,7 @@ int main(int argc, char *argv[]) /* {{{ */ int ini_entries_len = 0; char *ini_path_override = NULL; char *php_optarg = NULL; - int php_optind = 0; + int php_optind = 1; int opt; #ifdef ZTS @@ -235,7 +235,6 @@ int main(int argc, char *argv[]) /* {{{ */ #endif while ((opt = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) { - printf("OPT: %d\n", opt); switch (opt) { case 'c': if (ini_path_override) {