[geeklog-cvs] geeklog: Include install_defaults.php to set new config options ...
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Fri Oct 30 08:57:51 EDT 2009
changeset 7404:3dde94a085fe
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/3dde94a085fe
user: Dirk Haun <dirk at haun-online.de>
date: Fri Oct 30 12:01:33 2009 +0100
description:
Include install_defaults.php to set new config options to proper defaults during an upgrade
diffstat:
plugins/staticpages/sql/mssql_updates.php | 2 ++
plugins/staticpages/sql/mysql_updates.php | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
diffs (24 lines):
diff -r 7a15ec67da80 -r 3dde94a085fe plugins/staticpages/sql/mssql_updates.php
--- a/plugins/staticpages/sql/mssql_updates.php Fri Oct 30 12:00:15 2009 +0100
+++ b/plugins/staticpages/sql/mssql_updates.php Fri Oct 30 12:01:33 2009 +0100
@@ -52,6 +52,8 @@
$c = config::get_instance();
+ require_once $_CONF['path'] . 'plugins/staticpages/install_defaults.php';
+
// meta tag config options.
$c->add('meta_tags', $_SP_DEFAULT['meta_tags'], 'select', 0, 0, 0, 120, true, 'staticpages');
diff -r 7a15ec67da80 -r 3dde94a085fe plugins/staticpages/sql/mysql_updates.php
--- a/plugins/staticpages/sql/mysql_updates.php Fri Oct 30 12:00:15 2009 +0100
+++ b/plugins/staticpages/sql/mysql_updates.php Fri Oct 30 12:01:33 2009 +0100
@@ -53,6 +53,8 @@
$c = config::get_instance();
+ require_once $_CONF['path'] . 'plugins/staticpages/install_defaults.php';
+
// meta tag config options.
$c->add('meta_tags', $_SP_DEFAULT['meta_tags'], 'select', 0, 0, 0, 120, true, 'staticpages');
More information about the geeklog-cvs
mailing list