summaryrefslogtreecommitdiff
path: root/sanity_check.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-11-06 22:07:52 +0400
committerAndrew Dolgov <[email protected]>2011-11-06 22:07:52 +0400
commitedfab7bd7f9adde267aed954a4d3239b8a62c815 (patch)
tree96e9e2ed3c88a0bd1187a2d45bc11e022958d631 /sanity_check.php
parent52ebaf93e9074ce337c1afeaa93f611735e48d2b (diff)
expand description of SELF_URL_PATH, set sanity check (closes #384)
Diffstat (limited to 'sanity_check.php')
-rw-r--r--sanity_check.php4
1 files changed, 4 insertions, 0 deletions
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";
}