diff --git a/backend.php b/backend.php index 1a267805a..cdad2083f 100644 --- a/backend.php +++ b/backend.php @@ -22,6 +22,7 @@ define(SCHEMA_VERSION, 2); + require_once "sanity_check.php"; require_once "config.php"; require_once "db.php"; require_once "db-prefs.php"; diff --git a/error.php b/error.php index 6a7b52972..4d5e06e2e 100644 --- a/error.php +++ b/error.php @@ -1,4 +1,5 @@ Fatal Error: You forgot to copy + config.php-dist to config.php and edit it."; + exit; + } + + if (!file_exists("magpierss/rss_fetch.inc")) { + print "Fatal Error: You forgot to place + MagpieRSS + distribution in magpierss/ + subdirectory of TT-RSS tree."; + exit; + } +?> diff --git a/tt-rss.php b/tt-rss.php index f52a67d73..3aa5d52c0 100644 --- a/tt-rss.php +++ b/tt-rss.php @@ -1,6 +1,7 @@