From: Zeev Suraski Date: Sun, 16 Jan 2000 20:37:09 +0000 (+0000) Subject: Fix X-Git-Tag: BEFORE_PRE_SHUTDOWN_REVERSE_PATCH~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=97e1ad136a92e7fc55614e60e11ffef5862eb701;p=php Fix --- diff --git a/ext/session/session.c b/ext/session/session.c index 894dba2d19..5d7bdb77a2 100644 --- a/ext/session/session.c +++ b/ext/session/session.c @@ -1201,7 +1201,10 @@ PHP_RINIT_FUNCTION(session) return SUCCESS; } - _php_session_start(PSLS_C); + + if (INI_INT("session.auto_start")) { + _php_session_start(PSLS_C); + } php_register_pre_request_shutdown(_php_session_shutdown, NULL);