Change default SELF_URL_PATH for RFC 2602
This commit is contained in:
parent
7a7a0dc2dd
commit
39de69406b
|
@ -18,9 +18,9 @@
|
||||||
// *** Basic settings (important!) ***
|
// *** Basic settings (important!) ***
|
||||||
// ***********************************
|
// ***********************************
|
||||||
|
|
||||||
define('SELF_URL_PATH', 'http://yourserver/tt-rss/');
|
define('SELF_URL_PATH', 'http://example.org/tt-rss/');
|
||||||
// Full URL of your tt-rss installation. This should be set to the
|
// Full URL of your tt-rss installation. This should be set to the
|
||||||
// location of tt-rss directory, e.g. http://yourserver/tt-rss/
|
// location of tt-rss directory, e.g. http://example.org/tt-rss/
|
||||||
// You need to set this option correctly otherwise several features
|
// You need to set this option correctly otherwise several features
|
||||||
// including PUSH, bookmarklets and browser integration will not work properly.
|
// including PUSH, bookmarklets and browser integration will not work properly.
|
||||||
|
|
||||||
|
|
|
@ -95,7 +95,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (SELF_URL_PATH == "http://yourserver/tt-rss/") {
|
if (SELF_URL_PATH == "http://example.org/tt-rss/") {
|
||||||
$urlpath = preg_replace("/\w+\.php$/", "", make_self_url_path());
|
$urlpath = preg_replace("/\w+\.php$/", "", make_self_url_path());
|
||||||
|
|
||||||
array_push($errors,
|
array_push($errors,
|
||||||
|
|
Loading…
Reference in New Issue