1
0
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:
Sascha Schumann
1999-11-06 10:14:36 +00:00
parent 512f4519c6
commit 9738fdff44

View 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;
}