]> git.wh0rd.org - tt-rss.git/blobdiff - sanity_check.php
preliminary UI work on date checking filter (refs #225)
[tt-rss.git] / sanity_check.php
index 44a3c4f69bbd289cc1718d64331c956d82fc1b98..16819fa6ab530adbf627cadd0308e3020278f263 100644 (file)
@@ -1,8 +1,8 @@
 <?php
        require_once "functions.php";
 
-       define('EXPECTED_CONFIG_VERSION', 8);
-       define('SCHEMA_VERSION', 21);
+       define('EXPECTED_CONFIG_VERSION', 17);
+       define('SCHEMA_VERSION', 46);
 
        if (!file_exists("config.php")) {
                print __("<b>Fatal Error</b>: You forgot to copy 
                $err_msg = __("config: DATABASE_BACKED_SESSIONS are currently broken with MySQL");
        }
 
+       if (defined('MAIL_FROM')) {
+               $err_msg = __("config: MAIL_FROM has been split into DIGEST_FROM_NAME and DIGEST_FROM_ADDRESS");
+       }
+
+       if (!defined('COUNTERS_MAX_AGE')) {
+               $err_msg = __("config: option COUNTERS_MAX_AGE expected, but not defined");
+       }
+
+       if (defined('DAEMON_REFRESH_ONLY')) {
+               $err_msg = __("config: option DAEMON_REFRESH_ONLY is obsolete. Please remove this option and read about other ways to update feeds on the <a href='http://tt-rss.spb.ru/trac/wiki/UpdatingFeeds'>wiki</a>.");
+
+       }
+
        if ($err_msg) {
                print "<b>".__("Fatal Error")."</b>: $err_msg\n";
                exit;