summaryrefslogtreecommitdiff
path: root/sanity_check.php
diff options
context:
space:
mode:
Diffstat (limited to 'sanity_check.php')
-rw-r--r--sanity_check.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/sanity_check.php b/sanity_check.php
new file mode 100644
index 000000000..322aa9bf1
--- /dev/null
+++ b/sanity_check.php
@@ -0,0 +1,15 @@
+<?
+ if (!file_exists("config.php")) {
+ print "<b>Fatal Error</b>: You forgot to copy
+ <b>config.php-dist</b> to <b>config.php</b> and edit it.";
+ exit;
+ }
+
+ if (!file_exists("magpierss/rss_fetch.inc")) {
+ print "<b>Fatal Error</b>: You forgot to place
+ <a href=\"http://magpierss.sourceforge.net\">MagpieRSS</a>
+ distribution in <b>magpierss/</b>
+ subdirectory of TT-RSS tree.";
+ exit;
+ }
+?>