mirror of
https://github.com/php/php-src.git
synced 2026-04-27 18:23:26 +02:00
Also output the name of the save_handler when reporting a failed write
attempt.
This commit is contained in:
@@ -507,10 +507,13 @@ static void _php_session_save_current_state(PSLS_D)
|
||||
ret = PS(mod)->write(&PS(mod_data), PS(id), "", 0);
|
||||
|
||||
if (ret == FAILURE)
|
||||
php_error(E_WARNING, "Failed to write session data. Please check that "
|
||||
"the current setting of session.save_path is correct (%s)",
|
||||
php_error(E_WARNING, "Failed to write session data (%s). Please "
|
||||
"verify that the current setting of session.save_path "
|
||||
"is correct (%s)",
|
||||
PS(mod)->name,
|
||||
PS(save_path));
|
||||
|
||||
|
||||
PS(mod)->close(&PS(mod_data));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user