mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
Don't use session.path check when the server is in safe mode
This commit is contained in:
parent
29cbd93a45
commit
329f046798
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@
|
|||
|
||||
/// Check that sessions are supported
|
||||
|
||||
if (!is_readable(ini_get('session.save_path'))) {
|
||||
if (!is_readable(ini_get('session.save_path')) and !ini_get('safe_mode')) {
|
||||
$sessionpath = ini_get('session.save_path');
|
||||
notify("Warning: It appears your server does not support sessions (session.save_path = '$sessionpath')");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue