bump config version

This commit is contained in:
Andrew Dolgov 2006-04-28 08:07:43 +01:00
parent 498e75e2aa
commit fef8a1e4b4
2 changed files with 5 additions and 5 deletions

View file

@ -116,13 +116,13 @@
// Hard expiration limit for sessions. Should be // Hard expiration limit for sessions. Should be
// >= SESSION_COOKIE_LIFETIME_REMEMBER // >= SESSION_COOKIE_LIFETIME_REMEMBER
define('CONFIG_VERSION', 1);
// Expected config version. Please updated this option in config.php
// if necessary (after migrating all new options from this file).
define('DAEMON_UPDATE_LOGIN_LIMIT', 30); define('DAEMON_UPDATE_LOGIN_LIMIT', 30);
// Stop updating feeds of user who was never logged in // Stop updating feeds of user who was never logged in
// in specified amount of days. 0 disables. // in specified amount of days. 0 disables.
define('CONFIG_VERSION', 2);
// Expected config version. Please updated this option in config.php
// if necessary (after migrating all new options from this file).
// vim:ft=php // vim:ft=php
?> ?>

View file

@ -1,5 +1,5 @@
<? <?
define('EXPECTED_CONFIG_VERSION', 1); define('EXPECTED_CONFIG_VERSION', 2);
if (!file_exists("config.php")) { if (!file_exists("config.php")) {
print "<b>Fatal Error</b>: You forgot to copy print "<b>Fatal Error</b>: You forgot to copy