fail sanity if RSS_BACKEND_TYPE is not defined
This commit is contained in:
parent
0728071819
commit
f26baf361d
1 changed files with 7 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue