From: Yasuo Ohgaki Date: Sun, 30 Dec 2001 01:37:23 +0000 (+0000) Subject: Get rid of error message X-Git-Tag: PRE_ISSET_PATCH~365 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=47e4a02a640322cc1f2136acc0e3abbc9ee43f1b;p=php Get rid of error message # These lines should be enabled when save handlers can be initialized # before session module initialization. --- diff --git a/ext/session/session.c b/ext/session/session.c index bc58ec00d2..25f127ccad 100644 --- a/ext/session/session.c +++ b/ext/session/session.c @@ -115,9 +115,12 @@ static void php_session_end_output_handler(TSRMLS_D) static PHP_INI_MH(OnUpdateSaveHandler) { PS(mod) = _php_find_ps_module(new_value TSRMLS_CC); - if(!PS(mod)) { - php_error(E_ERROR,"Cannot find save handler %s",new_value); - } +/* Following lines are commented out to prevent bogus error message at + start up. i.e. Save handler modules are not initilzied before Session + module. */ +/* if(!PS(mod)) { */ +/* php_error(E_ERROR,"Cannot find save handler %s",new_value); */ +/* } */ return SUCCESS; }