From: Frederik Holden Date: Sat, 13 Jul 2013 13:37:27 +0000 (+0200) Subject: Change default SELF_URL_PATH for RFC 2602 X-Git-Tag: 1.9~27^2~1^2 X-Git-Url: https://git.wh0rd.org/?p=tt-rss.git;a=commitdiff_plain;h=39de69406b27140d8492d6955f793428029139e1 Change default SELF_URL_PATH for RFC 2602 --- diff --git a/config.php-dist b/config.php-dist index 1fdec26e..0d1bfbc0 100644 --- a/config.php-dist +++ b/config.php-dist @@ -18,9 +18,9 @@ // *** 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 - // 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 // including PUSH, bookmarklets and browser integration will not work properly. diff --git a/include/sanity_check.php b/include/sanity_check.php index 29e53fa3..a9ba663a 100644 --- a/include/sanity_check.php +++ b/include/sanity_check.php @@ -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()); array_push($errors,