diff options
author | Andrew Dolgov <[email protected]> | 2017-06-29 12:47:10 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2017-06-29 12:47:10 +0300 |
commit | f25abeb922eb5359d83fdf9068eb8d1a616fffbd (patch) | |
tree | 70f5c9da639a99b31e86b9d1fa0965aeaada844e /index.php | |
parent | 3099d2d5f8c4a2a89c71a773d0541849b31633ef (diff) |
default to file-based session storage
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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."); } |