mirror of
https://github.com/php/php-src.git
synced 2026-04-03 14:12:38 +02:00
Disable auto_start until we find a way to access the necessary data fields.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user