From 66581886f8ace4076d2c08431904974d3f1a4f7a Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 23 Nov 2005 18:20:17 +0100 Subject: add some basic "did I forget to create config.php" sanity checks --- sanity_check.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 sanity_check.php (limited to 'sanity_check.php') 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 @@ +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; + } +?> -- cgit v1.2.3-54-g00ecf