From da915bc1c36a3998b9aad6fdbccdd34e83e6c100 Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Mon, 22 Jun 2009 20:15:27 +0000 Subject: [PATCH] - MF53: [PHP-CVS] cvs: php-src(PHP_5_3) /sapi/cgi cgi_main.c --- sapi/cgi/cgi_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c index 4356d7c1b9..230e19f2a2 100644 --- a/sapi/cgi/cgi_main.c +++ b/sapi/cgi/cgi_main.c @@ -751,7 +751,7 @@ static void php_cgi_ini_activate_user_config(char *path, int path_len, const cha to find more user.ini, if not we only scan the current path. */ if (strncmp(s1, s2, s_len) == 0) { - ptr = s1 + start; /* start is the point where doc_root ends! */ + ptr = s2 + start; /* start is the point where doc_root ends! */ while ((ptr = strchr(ptr, DEFAULT_SLASH)) != NULL) { *ptr = 0; php_parse_user_ini_file(path, PG(user_ini_filename), entry->user_config TSRMLS_CC); -- 2.50.1