[geeklog-cvs] Geeklog-1.x/public_html lib-common.php,1.668,1.669
Aaron Blankstein
ablankstein at qs1489.pair.com
Sat Dec 29 19:11:42 EST 2007
Update of /cvsroot/geeklog/Geeklog-1.x/public_html
In directory qs1489.pair.com:/tmp/cvs-serv59652/Geeklog-1.x/public_html
Modified Files:
lib-common.php
Log Message:
Updated config class to run more smoothly with PHP4.
Changed config class's plugin support.
Added barebones handling of static page's config options in the config class.
Index: lib-common.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/lib-common.php,v
retrieving revision 1.668
retrieving revision 1.669
diff -C2 -d -r1.668 -r1.669
*** lib-common.php 29 Dec 2007 12:26:49 -0000 1.668
--- lib-common.php 30 Dec 2007 00:11:40 -0000 1.669
***************
*** 90,97 ****
require_once 'siteconfig.php' ;
require_once $_CONF['path_system'] . 'classes/config.class.php';
! $config = config::create();
$config->set_configfile($_CONF['path'] . 'db-config.php');
$config->load_baseconfig();
! $_CONF =& $config->initConfig();
// Before we do anything else, check to ensure site is enabled
--- 90,100 ----
require_once 'siteconfig.php' ;
require_once $_CONF['path_system'] . 'classes/config.class.php';
!
! $config =& config::get_instance();
$config->set_configfile($_CONF['path'] . 'db-config.php');
$config->load_baseconfig();
! $config->initConfig();
!
! $_CONF = $config->get_config('Core');
// Before we do anything else, check to ensure site is enabled
More information about the geeklog-cvs
mailing list