summaryrefslogtreecommitdiff
path: root/sanity_check.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-02-12 11:15:24 +0100
committerAndrew Dolgov <[email protected]>2006-02-12 11:15:24 +0100
commit3f286c4c2bb531156e16f3a1f809d36811ca1cd4 (patch)
treec4848aee6254e0a9788f21b4a90a62a3eb0f737c /sanity_check.php
parent7afb0f019d742c1ada08c800512a60c84fa93952 (diff)
skip counters output when number of unread articles at backend equals frontend, move tools to utils/ folder
Diffstat (limited to 'sanity_check.php')
-rw-r--r--sanity_check.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/sanity_check.php b/sanity_check.php
index 322aa9bf1..21fc08199 100644
--- a/sanity_check.php
+++ b/sanity_check.php
@@ -12,4 +12,11 @@
subdirectory of TT-RSS tree.";
exit;
}
+
+ if (file_exists("xml-export.php") || file_exists("xml-import.php")) {
+ print "<b>Fatal Error</b>: XML Import/Export tools (<b>xml-export.php</b>
+ and <b>xml-import.php</b>) could be used maliciously. Please remove them
+ from your TT-RSS instance.";
+ exit;
+ }
?>