summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-06-28 12:36:14 +0300
committerAndrew Dolgov <[email protected]>2017-06-28 12:36:14 +0300
commit5c341bbd6aa66bc537996485dde0752ffc4336b3 (patch)
tree9eca28bad8cba44c05d851188a7738938e6e41ad /index.php
parent9f4927825bb5efeefdff9a2aac05c5b3200f5ef6 (diff)
add error message for http auth
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/index.php b/index.php
index 508148a..94ed294 100644
--- a/index.php
+++ b/index.php
@@ -3,6 +3,10 @@
die("Please copy config.php-dist to config.php and edit it.");
}
+ if (isset($_SERVER["PHP_AUTH_USER"])) {
+ die("HTTP Authentication is no longer supported, please see migration notes in git.");
+ }
+
require_once "config.php";
require_once "sessions.php";
require_once "db.php";