summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
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.");
}