[pLog-svn] r2425 - plog/branches/plog-1.0.2
oscar at devel.plogworld.net
oscar at devel.plogworld.net
Sun Aug 28 21:10:20 GMT 2005
Author: oscar
Date: 2005-08-28 21:10:20 +0000 (Sun, 28 Aug 2005)
New Revision: 2425
Modified:
plog/branches/plog-1.0.2/wizard.php
Log:
added two new lines to the plog_config table
Modified: plog/branches/plog-1.0.2/wizard.php
===================================================================
--- plog/branches/plog-1.0.2/wizard.php 2005-08-28 21:05:16 UTC (rev 2424)
+++ plog/branches/plog-1.0.2/wizard.php 2005-08-28 21:10:20 UTC (rev 2425)
@@ -648,8 +648,11 @@
$Inserts[111] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('thumbnail_generator_use_smoothing_algorithm', '1', 1);";
$Inserts[112] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('template_cache_lifetime', '-1', 3);";
$Inserts[113] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('use_http_accept_language_detection', '0', 1);";
-$Inserts[114] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('session_save_path', '', 3);";
+$Inserts[114] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('session_save_path', '', 3);";
+$Inserts[115] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('skip_dashboard', '0', 1);";
+$Inserts[116] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('use_captcha_auth', '0', 1);";
+
/**
* Open a connection to the database
*/
@@ -1438,7 +1441,7 @@
// ---
// add the new configuration settings that were added for 1.0
// ---
- $newSettings = range( 71, 112 );
+ $newSettings = range( 71, 116 );
foreach( $newSettings as $settingId ) {
$setting = $Inserts[$settingId];
$query = str_replace( "{dbprefix}", $this->_dbPrefix, $setting );
More information about the pLog-svn
mailing list