summaryrefslogtreecommitdiff
path: root/include/sanity_check.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-04-03 12:28:21 +0400
committerAndrew Dolgov <[email protected]>2013-04-03 12:28:21 +0400
commitb3b48f61c0da86ec290d6eeaa4243e9769c316b0 (patch)
tree0f5d1628eaff3ca7937395b6265cb0d2db92187f /include/sanity_check.php
parent4d8500570c599af79f4abc3099b4b2eb5419ce9b (diff)
add an angrier blurb to sanity_check.php
Diffstat (limited to 'include/sanity_check.php')
-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);