summaryrefslogtreecommitdiff
path: root/sanity_check.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-08-16 08:56:52 +0400
committerAndrew Dolgov <[email protected]>2011-08-16 08:56:52 +0400
commite6a63a1c69928c1b3577b8c571753c77b9fdaf47 (patch)
tree6e03c313375db3b13afd713ef20319b1bfe32df7 /sanity_check.php
parent59a6e9f3bb57ef2e2ca884fd554925db25abe845 (diff)
add sanity check for SELF_URL_PATH being kept at default value (refs #349)
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 3007d2bb7..9df2fb047 100644
--- a/sanity_check.php
+++ b/sanity_check.php
@@ -151,6 +151,10 @@
$err_msg = "PHP: DOMDocument extension not found.";
}
+ if (SELF_URL_PATH == "http://local.host/tt-rss") {
+ $err_msg = "config: please set SELF_URL_PATH to the correct value";
+ }
+
if (!ISCONFIGURED) {
$err_msg = "config: please read config.php completely.";
}