1
0
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:
Sascha Schumann
2000-07-10 08:35:03 +00:00
parent 4f1a593ac8
commit eb0cbbd2d9
+5 -2
View File
@@ -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));
}