summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-04-03 13:43:45 +0400
committerAndrew Dolgov <[email protected]>2013-04-03 13:43:45 +0400
commit737ede9cbca47079862d1644c0c6f63dda5fd70a (patch)
treeed80f0fc5083204c59b57485e2b35a3a81ee4190 /include
parent6470aaec68ef3dff6aa990d496f5eae8b779dd0a (diff)
parent3b32c232da8596f5728708680f2fb0b323d8df3a (diff)
Merge branch 'master' of github.com:gothfox/Tiny-Tiny-RSS
Diffstat (limited to 'include')
-rw-r--r--include/sanity_check.php17
1 files changed, 15 insertions, 2 deletions
diff --git a/include/sanity_check.php b/include/sanity_check.php
index 1610cfeb0..99d3051f3 100644
--- a/include/sanity_check.php
+++ b/include/sanity_check.php
@@ -1,6 +1,19 @@
<?php
- // WARNING: Don't ask for help on tt-rss.org forums or the bugtracker if you have
- // modified this file.
+ /*
+ * WARNING!
+ *
+ * If you modify this file, you are ON YOUR OWN!
+ *
+ * Believe it or not, all of the checks below are required to succeed for
+ * tt-rss to actually function properly.
+ *
+ * If you think you have a better idea about what is or isn't required, feel
+ * free to modify the file, note though that you are therefore automatically
+ * disqualified from any further support by official channels, e.g. tt-rss.org
+ * issue tracker or the forums.
+ *
+ * If you come crying when stuff inevitably breaks, you will be mocked and told
+ * to get out. */
function make_self_url_path() {
$url_path = ($_SERVER['HTTPS'] != "on" ? 'http://' : 'https://') . $_SERVER["HTTP_HOST"] . parse_url($_SERVER["REQUEST_URI"], PHP_URL_PATH);