diff options
Diffstat (limited to 'sanity_check.php')
-rw-r--r-- | sanity_check.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sanity_check.php b/sanity_check.php index 5361c7aa9..721c7140f 100644 --- a/sanity_check.php +++ b/sanity_check.php @@ -1,7 +1,7 @@ <?php require_once "functions.php"; - define('EXPECTED_CONFIG_VERSION', 5); + define('EXPECTED_CONFIG_VERSION', 7); if (!file_exists("config.php")) { print __("<b>Fatal Error</b>: You forgot to copy @@ -12,7 +12,7 @@ require_once "config.php"; if (CONFIG_VERSION != EXPECTED_CONFIG_VERSION) { - return __("config: your config file version is incorrect. See config.php-dist.\n"); + $err_msg = __("config: your config file version is incorrect. See config.php-dist.\n"); } if (defined('RSS_BACKEND_TYPE')) { |