Include install_defaults.php to set new config options to proper defaults during an upgrade
1.1 --- a/plugins/staticpages/sql/mssql_updates.php Fri Oct 30 12:00:15 2009 +0100
1.2 +++ b/plugins/staticpages/sql/mssql_updates.php Fri Oct 30 12:01:33 2009 +0100
1.3 @@ -52,6 +52,8 @@
1.4
1.5 $c = config::get_instance();
1.6
1.7 + require_once $_CONF['path'] . 'plugins/staticpages/install_defaults.php';
1.8 +
1.9 // meta tag config options.
1.10 $c->add('meta_tags', $_SP_DEFAULT['meta_tags'], 'select', 0, 0, 0, 120, true, 'staticpages');
1.11
2.1 --- a/plugins/staticpages/sql/mysql_updates.php Fri Oct 30 12:00:15 2009 +0100
2.2 +++ b/plugins/staticpages/sql/mysql_updates.php Fri Oct 30 12:01:33 2009 +0100
2.3 @@ -53,6 +53,8 @@
2.4
2.5 $c = config::get_instance();
2.6
2.7 + require_once $_CONF['path'] . 'plugins/staticpages/install_defaults.php';
2.8 +
2.9 // meta tag config options.
2.10 $c->add('meta_tags', $_SP_DEFAULT['meta_tags'], 'select', 0, 0, 0, 120, true, 'staticpages');
2.11