[pLog-svn] r1848 - plog/branches/plog-1.0.1
jondaley at devel.plogworld.net
jondaley at devel.plogworld.net
Sat Apr 16 13:21:05 GMT 2005
Author: jondaley
Date: 2005-04-16 13:21:04 +0000 (Sat, 16 Apr 2005)
New Revision: 1848
Modified:
plog/branches/plog-1.0.1/wizard.php
Log:
ded new value for cache lifetime. I think I even did it right
Modified: plog/branches/plog-1.0.1/wizard.php
===================================================================
--- plog/branches/plog-1.0.1/wizard.php 2005-04-16 01:55:36 UTC (rev 1847)
+++ plog/branches/plog-1.0.1/wizard.php 2005-04-16 13:21:04 UTC (rev 1848)
@@ -591,7 +591,7 @@
$Inserts[60] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('bayesian_filter_number_significant_tokens', 15, 1);";
$Inserts[61] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('bayesian_filter_spam_comments_action', 0, 1 );";
$Inserts[62] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('ip_address_filter_enabled', 1, 1 );";
-$Inserts[63] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('content_filter_enabled', 0, 1 );";
+$Inserts[63] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('content_filter_enabled', 1, 1 );";
$Inserts[64] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('thumbnail_format','same',3);";
$Inserts[65] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('resources_folder','./gallery/',3);";
$Inserts[66] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('beautify_comments_text', '1', 1);";
@@ -640,6 +640,7 @@
$Inserts[109] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('update_cached_article_reads', '1', 1);";
$Inserts[110] = "INSERT INTO {dbprefix}config (config_key, config_value, value_type) VALUES('allow_php_code_in_templates', '0', 1);";
$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);";
/**
@@ -1428,7 +1429,7 @@
// ---
// add the new configuration settings that were added for 1.0
// ---
- $newSettings = range( 71, 111 );
+ $newSettings = range( 71, 112 );
foreach( $newSettings as $settingId ) {
$setting = $Inserts[$settingId];
$query = str_replace( "{dbprefix}", $this->_dbPrefix, $setting );
More information about the pLog-svn
mailing list