cvs: pear /Config/Config/Container IniCommented.php
| From: | Ryan King | Date: | Sat, 09 Apr 2005 03:42:18 +0000 |
| Subject: | cvs: pear /Config/Config/Container IniCommented.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-31071@lists.php.net to get a copy of this message | ||
ryansking Fri Apr 8 23:42:18 2005 EDT
Modified files:
/pear/Config/Config/Container IniCommented.php
Log:
fix for bug #3398 which wouldn't parse multiple values correctly when one of them was quoted
http://cvs.php.net/diff.php/pear/Config/Config/Container/IniCommented.php?r1=1.18&r2=1.19&ty=u
Index: pear/Config/Config/Container/IniCommented.php
diff -u pear/Config/Config/Container/IniCommented.php:1.18
pear/Config/Config/Container/IniCommented.php:1.19
--- pear/Config/Config/Container/IniCommented.php:1.18 Mon Oct 18 20:57:59 2004
+++ pear/Config/Config/Container/IniCommented.php Fri Apr 8 23:42:17 2005
@@ -15,7 +15,7 @@
// | Author: Bertrand Mansion <bmansion@mamasam.com> |
// +----------------------------------------------------------------------+
//
-// $Id: IniCommented.php,v 1.18 2004/10/19 00:57:59 ryansking Exp $
+// $Id: IniCommented.php,v 1.19 2005/04/09 03:42:17 ryansking Exp $
/**
* Config parser for PHP .ini files with comments
@@ -191,6 +191,7 @@
continue 2;
} else {
while ($state != 'normal') {
+ $returnpos++;
array_pop($stack);
$state = $this->_getQACEvent($stack);
}