]> granicus.if.org Git - php/commitdiff
Get rid of error message
authorYasuo Ohgaki <yohgaki@php.net>
Sun, 30 Dec 2001 01:37:23 +0000 (01:37 +0000)
committerYasuo Ohgaki <yohgaki@php.net>
Sun, 30 Dec 2001 01:37:23 +0000 (01:37 +0000)
# These lines should be enabled when save handlers can be initialized
# before session module initialization.

ext/session/session.c

index bc58ec00d24292914076e6a90da4fb0539990620..25f127ccade2b212919919999b215a3c8f75f8ee 100644 (file)
@@ -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;
 }