com php-src: ini working: phpdbg.c
| From: | Bob Weinand | Date: | Sun, 10 Nov 2013 23:06:20 +0000 |
| Subject: | com php-src: ini working: phpdbg.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-75152@lists.php.net to get a copy of this message | ||
Commit: 92c0fbebeda49a9e5d327f4b08e89df2d1af98ff
Author: krakjoe <joe.watkins@live.co.uk> Sun, 10 Nov 2013 23:06:20 +0000
Parents: 4f9f86a15dbbec28c37a9f7ade85545124d2c764
Branches: PHP-5.6
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=92c0fbebeda49a9e5d327f4b08e89df2d1af98ff
Log:
ini working
Changed paths:
M phpdbg.c
Diff:
diff --git a/phpdbg.c b/phpdbg.c
index 2ebc518...a4984bb 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) {