pajoye Mon Jun 22 20:15:27 2009 UTC
Modified files:
/php-src/sapi/cgi cgi_main.c
Log:
- MF53: [PHP-CVS] cvs: php-src(PHP_5_3) /sapi/cgi cgi_main.c
http://cvs.php.net/viewvc.cgi/php-src/sapi/cgi/cgi_main.c?r1=1.385&r2=1.386&diff_format=u
Index: php-src/sapi/cgi/cgi_main.c
diff -u php-src/sapi/cgi/cgi_main.c:1.385 php-src/sapi/cgi/cgi_main.c:1.386
--- php-src/sapi/cgi/cgi_main.c:1.385 Wed Jun 17 19:31:54 2009
+++ php-src/sapi/cgi/cgi_main.c Mon Jun 22 20:15:27 2009
@@ -21,7 +21,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: cgi_main.c,v 1.385 2009/06/17 19:31:54 pajoye Exp $ */
+/* $Id: cgi_main.c,v 1.386 2009/06/22 20:15:27 pajoye Exp $ */
#include "php.h"
#include "php_globals.h"
@@ -751,7 +751,7 @@
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);
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php