expand description of SELF_URL_PATH, set sanity check (closes #384)

This commit is contained in:
Andrew Dolgov
2011-11-06 22:07:52 +04:00
parent 52ebaf93e9
commit edfab7bd7f
2 changed files with 9 additions and 3 deletions

View File

@@ -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";
}