[geeklog-cvs] Geeklog-1.x/system/classes config.class.php,1.7,1.8
Aaron Blankstein
ablankstein at qs1489.pair.com
Sun Dec 9 16:16:45 EST 2007
Update of /cvsroot/geeklog/Geeklog-1.x/system/classes
In directory qs1489.pair.com:/tmp/cvs-serv42725/Geeklog-1.x/system/classes
Modified Files:
config.class.php
Log Message:
A small fix to PHP4 problems - the class sees if the config array is
empty during an update and reloads it if it is.
Index: config.class.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/system/classes/config.class.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** config.class.php 1 Dec 2007 21:20:20 -0000 1.7
--- config.class.php 9 Dec 2007 21:16:43 -0000 1.8
***************
*** 509,512 ****
--- 509,515 ----
return null;
}
+ if ($this->config_array == null) {
+ $this->initConfig();
+ }
$success_array = array();
foreach ($this->config_array as $param_name => $param_value) {
More information about the geeklog-cvs
mailing list