mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-30 20:01:29 +00:00
add sanity check for SELF_URL_PATH being kept at default value (refs #349)
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
@@ -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.";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user