]> git.wh0rd.org - tt-rss.git/blame - sanity_check.php
skip counters output when number of unread articles at backend equals frontend, move...
[tt-rss.git] / sanity_check.php
CommitLineData
66581886
AD
1<?
2 if (!file_exists("config.php")) {
3 print "<b>Fatal Error</b>: You forgot to copy
4 <b>config.php-dist</b> to <b>config.php</b> and edit it.";
5 exit;
6 }
7
8 if (!file_exists("magpierss/rss_fetch.inc")) {
9 print "<b>Fatal Error</b>: You forgot to place
10 <a href=\"http://magpierss.sourceforge.net\">MagpieRSS</a>
11 distribution in <b>magpierss/</b>
12 subdirectory of TT-RSS tree.";
13 exit;
14 }
3f286c4c
AD
15
16 if (file_exists("xml-export.php") || file_exists("xml-import.php")) {
17 print "<b>Fatal Error</b>: XML Import/Export tools (<b>xml-export.php</b>
18 and <b>xml-import.php</b>) could be used maliciously. Please remove them
19 from your TT-RSS instance.";
20 exit;
21 }
66581886 22?>