Relax session storage check to the `files' save handler

fixes #8053
This commit is contained in:
Johannes Meyer 2014-12-22 11:02:48 +01:00
parent 706e5504e6
commit f7d11ce11f
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ class PhpSession extends Session
}
}
if (!is_writable(session_save_path())) {
if (ini_get('session.save_handler') === 'files' && !is_writable(session_save_path())) {
throw new ConfigurationError('Can\'t save session');
}