Update of /cvsroot/phpwiki/phpwiki/lib/pear/Config/Container
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20135/pear/Config/Container
Modified Files:
IniCommented.php
Log Message:
config refactoring:
FileFinder is needed for WikiFarm scripts calling index.php
config run-time calls moved to lib/IniConfig.php:fix_configs()
added PHPWIKI_DIR smart-detection code (Theme finder)
moved FileFind to lib/FileFinder.php
cleaned lib/config.php
Index: IniCommented.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/pear/Config/Container/IniCommented.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -2 -b -p -d -r1.1 -r1.2
--- IniCommented.php 16 Apr 2004 22:49:09 -0000 1.1
+++ IniCommented.php 20 Apr 2004 18:10:53 -0000 1.2
@@ -159,5 +159,5 @@ class Config_Container_IniCommented {
null,
PEAR_ERROR_RETURN);
}
- if ($returnpos >= 0) {
+ if (isset($return[$returnpos]) and $returnpos >=
0) {
// trim any unnecessary whitespace in earlier
entries
$return[$returnpos][1] =
trim($return[$returnpos][1]);
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
|
|