diff options
-rw-r--r-- | sanity_check.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sanity_check.php b/sanity_check.php index faadfd9c3..9b3e4b1eb 100644 --- a/sanity_check.php +++ b/sanity_check.php @@ -16,6 +16,13 @@ exit; } + if (!defined('RSS_BACKEND_TYPE')) { + print "<b>Fatal error</b>: RSS backend type is not defined + (config variable <b>RSS_BACKEND_TYPE</b>) - please check your + configuration file."; + exit; + } + if (RSS_BACKEND_TYPE == "magpie" && !file_exists("magpierss/rss_fetch.inc")) { print "<b>Fatal Error</b>: You forgot to place <a href=\"http://magpierss.sourceforge.net\">MagpieRSS</a> |