[pLog-svn] r2659 - plog/trunk

oscar at devel.lifetype.net oscar at devel.lifetype.net
Sun Nov 27 20:32:09 GMT 2005


Author: oscar
Date: 2005-11-27 20:32:08 +0000 (Sun, 27 Nov 2005)
New Revision: 2659

Modified:
   plog/trunk/wizard.php
Log:
added the new key with a default value


Modified: plog/trunk/wizard.php
===================================================================
--- plog/trunk/wizard.php	2005-11-27 20:30:04 UTC (rev 2658)
+++ plog/trunk/wizard.php	2005-11-27 20:32:08 UTC (rev 2659)
@@ -590,6 +590,7 @@
 $Inserts[115] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('use_captcha_auth', '0', 1);";
 $Inserts[116] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('page_suffix_format', '/page/{page}', 3);";
 $Inserts[117] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('urlize_word_separator', '_', 3);";
+$Inserts[118] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('summary_template_cache_lifetime', '0', 1 );";
 
     /**
      * Open a connection to the database
@@ -1384,7 +1385,7 @@
             // ---
             // add the new configuration settings that were added for 1.0
             // ---
-            $newSettings = range( 71, 117 );
+            $newSettings = range( 71, 118 );
             foreach( $newSettings as $settingId ) {
                 $setting = $Inserts[$settingId];
                 $query = str_replace( "{dbprefix}", $this->_dbPrefix, $setting );




More information about the pLog-svn mailing list