diff options
author | foobar <sniper@php.net> | 2004-02-19 01:54:21 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2004-02-19 01:54:21 +0000 |
commit | 4441da2754e106d88dffbb6e42a8b7b0fed65253 (patch) | |
tree | 59270b09fbe13666b8c46e036d488ae0a46262f9 | |
parent | b21569dead87d705510dc9495c8ff530fb9d69f5 (diff) | |
download | php-git-4441da2754e106d88dffbb6e42a8b7b0fed65253.tar.gz |
Improve error messages
-rw-r--r-- | ext/session/session.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/session/session.c b/ext/session/session.c index 27874f72ee..301f8c0948 100644 --- a/ext/session/session.c +++ b/ext/session/session.c @@ -705,13 +705,13 @@ static void php_session_initialize(TSRMLS_D) int vallen; if (!PS(mod)) { - php_error_docref(NULL TSRMLS_CC, E_ERROR, "Failed to initialize session module."); + php_error_docref(NULL TSRMLS_CC, E_ERROR, "No storage module chosen - failed to initialize session."); return; } /* Open session handler first */ if (PS(mod)->s_open(&PS(mod_data), PS(save_path), PS(session_name) TSRMLS_CC) == FAILURE) { - php_error_docref(NULL TSRMLS_CC, E_ERROR, "Failed to initialize session module"); + php_error_docref(NULL TSRMLS_CC, E_ERROR, "Failed to initialize storage module: %s (path: %s)", PS(mod)->s_name, PS(save_path)); return; } |