From edfab7bd7f9adde267aed954a4d3239b8a62c815 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 6 Nov 2011 22:07:52 +0400 Subject: expand description of SELF_URL_PATH, set sanity check (closes #384) --- sanity_check.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sanity_check.php') diff --git a/sanity_check.php b/sanity_check.php index 0c803d883..3e5c09803 100644 --- a/sanity_check.php +++ b/sanity_check.php @@ -111,6 +111,10 @@ $err_msg = "config: DEFAULT_UPDATE_METHOD should be either 0 or 1."; } + if (SELF_URL_PATH == "http://yourserver/tt-rss/") { + $err_msg = "config: please set SELF_URL_PATH to the correct value."; + } + if (!is_writable(ICONS_DIR)) { $err_msg = "config: your ICONS_DIR (" . ICONS_DIR . ") is not writable.\n"; } -- cgit v1.2.3