[geeklog-cvs] Geeklog-1.x/public_html/admin/install config-install.php, 1.7, 1.8 index.php, 1.22, 1.23
Aaron Blankstein
ablankstein at qs1489.pair.com
Sat Dec 29 19:11:42 EST 2007
Update of /cvsroot/geeklog/Geeklog-1.x/public_html/admin/install
In directory qs1489.pair.com:/tmp/cvs-serv59652/Geeklog-1.x/public_html/admin/install
Modified Files:
config-install.php index.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: config-install.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/admin/install/config-install.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** config-install.php 29 Dec 2007 20:49:57 -0000 1.7
--- config-install.php 30 Dec 2007 00:11:40 -0000 1.8
***************
*** 40,44 ****
global $_TABLES;
! $c = config::create();
$c->add('path_html','','text',0,1,NULL,10,TRUE);
--- 40,44 ----
global $_TABLES;
! $c = config::get_instance();
$c->add('path_html','','text',0,1,NULL,10,TRUE);
Index: index.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/admin/install/index.php,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** index.php 25 Nov 2007 08:08:18 -0000 1.22
--- index.php 30 Dec 2007 00:11:40 -0000 1.23
***************
*** 480,484 ****
install_config();
! $config = config::create();
$config->set('site_name', urldecode($site_name));
$config->set('site_slogan', urldecode($site_slogan));
--- 480,484 ----
install_config();
! $config = config::get_instance();
$config->set('site_name', urldecode($site_name));
$config->set('site_slogan', urldecode($site_slogan));
***************
*** 547,551 ****
require_once $_CONF['path_system'] . 'classes/config.class.php';
! $config = config::create();
$config->set('site_name', urldecode($site_name));
$config->set('site_slogan', urldecode($site_slogan));
--- 547,551 ----
require_once $_CONF['path_system'] . 'classes/config.class.php';
! $config = config::get_instance();
$config->set('site_name', urldecode($site_name));
$config->set('site_slogan', urldecode($site_slogan));
More information about the geeklog-cvs
mailing list