From 39de69406b27140d8492d6955f793428029139e1 Mon Sep 17 00:00:00 2001 From: Frederik Holden Date: Sat, 13 Jul 2013 15:37:27 +0200 Subject: [PATCH] Change default SELF_URL_PATH for RFC 2602 --- config.php-dist | 4 ++-- include/sanity_check.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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, -- 2.39.5