From 3f286c4c2bb531156e16f3a1f809d36811ca1cd4 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 12 Feb 2006 11:15:24 +0100 Subject: skip counters output when number of unread articles at backend equals frontend, move tools to utils/ folder --- sanity_check.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'sanity_check.php') 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 "Fatal Error: XML Import/Export tools (xml-export.php + and xml-import.php) could be used maliciously. Please remove them + from your TT-RSS instance."; + exit; + } ?> -- cgit v1.2.3-54-g00ecf