Include install_defaults.php to set new config options to proper defaults during an upgrade HEAD
authorDirk Haun <dirk@haun-online.de>
Fri Oct 30 12:01:33 2009 +0100 (4 months ago)
branchHEAD
changeset 74043dde94a085fe
parent 74037a15ec67da80
child 74059ac31db1c2a3
Include install_defaults.php to set new config options to proper defaults during an upgrade
plugins/staticpages/sql/mssql_updates.php
plugins/staticpages/sql/mysql_updates.php
     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