[pLog-svn] r2549 - plog/branches/plog-1.0.2
jondaley at devel.plogworld.net
jondaley at devel.plogworld.net
Thu Nov 10 02:47:09 GMT 2005
Author: jondaley
Date: 2005-11-10 02:47:08 +0000 (Thu, 10 Nov 2005)
New Revision: 2549
Modified:
plog/branches/plog-1.0.2/wizard.php
Log:
separated template_cache_lifetime and http_cache_lifetime. It is enabled by default, and users can edit a 'hidden' sql row to change the lifetime value. http://bugs.plogworld.net/view.php?id=672
Modified: plog/branches/plog-1.0.2/wizard.php
===================================================================
--- plog/branches/plog-1.0.2/wizard.php 2005-11-10 02:44:23 UTC (rev 2548)
+++ plog/branches/plog-1.0.2/wizard.php 2005-11-10 02:47:08 UTC (rev 2549)
@@ -651,6 +651,7 @@
$Inserts[113] = "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('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('http_cache_lifetime', '1800', 3);";
/**
@@ -1441,7 +1442,7 @@
// ---
// add the new configuration settings that were added for 1.0
// ---
- $newSettings = range( 71, 115 );
+ $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