]> granicus.if.org Git - php/commitdiff
(PHP_RINIT(session)) Never return FAILURE on trivial issues from a request
authorSascha Schumann <sas@php.net>
Fri, 26 Nov 1999 13:43:55 +0000 (13:43 +0000)
committerSascha Schumann <sas@php.net>
Fri, 26 Nov 1999 13:43:55 +0000 (13:43 +0000)
startup handler

ext/session/session.c

index 73b0a412efb4472f4ca8c8874b813da8a3c9c973..c118a2ac06cf1fa6378383124a8a6c866ade5639 100644 (file)
@@ -937,7 +937,7 @@ PHP_RINIT_FUNCTION(session)
        if(PS(mod) == NULL) {
                /* current status is unusable */
                PS(nr_open_sessions) = -1;
-               return FAILURE;
+               return SUCCESS;
        }
 
        if(INI_INT("session.auto_start")) {