summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-06-29 12:47:10 +0300
committerAndrew Dolgov <[email protected]>2017-06-29 12:47:10 +0300
commitf25abeb922eb5359d83fdf9068eb8d1a616fffbd (patch)
tree70f5c9da639a99b31e86b9d1fa0965aeaada844e /index.php
parent3099d2d5f8c4a2a89c71a773d0541849b31633ef (diff)
default to file-based session storage
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 94ed294..5260b1d 100644
--- a/index.php
+++ b/index.php
@@ -3,6 +3,10 @@
die("Please copy config.php-dist to config.php and edit it.");
}
+ if (!is_writable("sessions")) {
+ die("sessions/ directory is not writable.");
+ }
+
if (isset($_SERVER["PHP_AUTH_USER"])) {
die("HTTP Authentication is no longer supported, please see migration notes in git.");
}