summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.php-dist2
-rw-r--r--sanity_check.php4
2 files changed, 5 insertions, 1 deletions
diff --git a/config.php-dist b/config.php-dist
index 6ebcc1a11..5052e9573 100644
--- a/config.php-dist
+++ b/config.php-dist
@@ -7,7 +7,7 @@
define('DB_PASS', "XXXXXX");
//define('DB_PORT', '5432'); // when neeeded, PG-only
- define('SELF_URL_PATH', 'http://localhost/tt-rss');
+ define('SELF_URL_PATH', 'http://local.host/tt-rss');
// Full URL of your tt-rss installation. You need to set this option
// correctly for tt-rss to function properly.
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.";
}