]> git.wh0rd.org - tt-rss.git/commitdiff
Change default SELF_URL_PATH for RFC 2602
authorFrederik Holden <frh@server.fake>
Sat, 13 Jul 2013 13:37:27 +0000 (15:37 +0200)
committerFrederik Holden <frh@server.fake>
Sat, 13 Jul 2013 13:37:27 +0000 (15:37 +0200)
config.php-dist
include/sanity_check.php

index 1fdec26e4f5ddc2396bd0c2e87f68fc97214bd04..0d1bfbc01da0fdacc1af0867f4cfcbe3ec45d29c 100644 (file)
@@ -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.
 
index 29e53fa336f29648f75c4186cd11cc8bca75386d..a9ba663a938e0eecd4f1733e5829e6967232d896 100644 (file)
@@ -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,