[pLog-svn] r2632 - plog/trunk

oscar at devel.lifetype.net oscar at devel.lifetype.net
Thu Nov 24 21:07:15 GMT 2005


Author: oscar
Date: 2005-11-24 21:07:14 +0000 (Thu, 24 Nov 2005)
New Revision: 2632

Modified:
   plog/trunk/wizard.php
Log:
added a default value for urlize_word_separator, the config key which stores the character used to generate permalinks and hostnames from blog names.


Modified: plog/trunk/wizard.php
===================================================================
--- plog/trunk/wizard.php	2005-11-24 21:05:45 UTC (rev 2631)
+++ plog/trunk/wizard.php	2005-11-24 21:07:14 UTC (rev 2632)
@@ -588,6 +588,7 @@
 $Inserts[114] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('skip_dashboard', '0', 1);";
 $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);";
 
     /**
      * Open a connection to the database
@@ -1382,7 +1383,7 @@
             // ---
             // add the new configuration settings that were added for 1.0
             // ---
-            $newSettings = range( 71, 116 );
+            $newSettings = range( 71, 117 );
             foreach( $newSettings as $settingId ) {
                 $setting = $Inserts[$settingId];
                 $query = str_replace( "{dbprefix}", $this->_dbPrefix, $setting );




More information about the pLog-svn mailing list