]> granicus.if.org Git - php/commitdiff
Disable auto_start until we find a way to access the necessary data fields.
authorSascha Schumann <sas@php.net>
Sat, 6 Nov 1999 10:14:36 +0000 (10:14 +0000)
committerSascha Schumann <sas@php.net>
Sat, 6 Nov 1999 10:14:36 +0000 (10:14 +0000)
ext/session/session.c

index 07058207ffba4cab9bbf0cdd1ed1c4a2c0fb67fa..7a67783a10700ee5d4871226b6033c32ae51e999 100644 (file)
@@ -933,9 +933,16 @@ PHP_RINIT_FUNCTION(session)
                return FAILURE;
        }
 
+       if(INI_INT("session.auto_start")) {
+               php_error(E_ERROR, "session.auto_start is not available in this version. Disable it in your configuration.");
+               return FAILURE;
+       }
+       
+#if 0
        if(INI_INT("session.auto_start")) {
                _php_session_start(PSLS_C);
        }
+#endif
 
        return SUCCESS;
 }