@@ -162,15 +162,11 @@ static const opt_struct OPTIONS[] = {
162
162
typedef struct _php_cgi_globals_struct {
163
163
zend_bool rfc2616_headers ;
164
164
zend_bool nph ;
165
- zend_bool check_shebang_line ;
166
165
zend_bool fix_pathinfo ;
167
166
zend_bool force_redirect ;
168
167
zend_bool discard_path ;
169
168
zend_bool fcgi_logging ;
170
169
char * redirect_status_env ;
171
- #ifdef PHP_WIN32
172
- zend_bool impersonate ;
173
- #endif
174
170
HashTable user_config_cache ;
175
171
char * error_header ;
176
172
char * fpm_config ;
@@ -1398,15 +1394,11 @@ void fastcgi_cleanup(int signal)
1398
1394
PHP_INI_BEGIN ()
1399
1395
STD_PHP_INI_ENTRY ("cgi.rfc2616_headers" , "0" , PHP_INI_ALL , OnUpdateBool , rfc2616_headers , php_cgi_globals_struct , php_cgi_globals )
1400
1396
STD_PHP_INI_ENTRY ("cgi.nph" , "0" , PHP_INI_ALL , OnUpdateBool , nph , php_cgi_globals_struct , php_cgi_globals )
1401
- STD_PHP_INI_ENTRY ("cgi.check_shebang_line" , "1" , PHP_INI_SYSTEM , OnUpdateBool , check_shebang_line , php_cgi_globals_struct , php_cgi_globals )
1402
1397
STD_PHP_INI_ENTRY ("cgi.force_redirect" , "1" , PHP_INI_SYSTEM , OnUpdateBool , force_redirect , php_cgi_globals_struct , php_cgi_globals )
1403
1398
STD_PHP_INI_ENTRY ("cgi.redirect_status_env" , NULL , PHP_INI_SYSTEM , OnUpdateString , redirect_status_env , php_cgi_globals_struct , php_cgi_globals )
1404
1399
STD_PHP_INI_ENTRY ("cgi.fix_pathinfo" , "1" , PHP_INI_SYSTEM , OnUpdateBool , fix_pathinfo , php_cgi_globals_struct , php_cgi_globals )
1405
1400
STD_PHP_INI_ENTRY ("cgi.discard_path" , "0" , PHP_INI_SYSTEM , OnUpdateBool , discard_path , php_cgi_globals_struct , php_cgi_globals )
1406
1401
STD_PHP_INI_ENTRY ("fastcgi.logging" , "1" , PHP_INI_SYSTEM , OnUpdateBool , fcgi_logging , php_cgi_globals_struct , php_cgi_globals )
1407
- #ifdef PHP_WIN32
1408
- STD_PHP_INI_ENTRY ("fastcgi.impersonate" , "0" , PHP_INI_SYSTEM , OnUpdateBool , impersonate , php_cgi_globals_struct , php_cgi_globals )
1409
- #endif
1410
1402
STD_PHP_INI_ENTRY ("fastcgi.error_header" , NULL , PHP_INI_SYSTEM , OnUpdateString , error_header , php_cgi_globals_struct , php_cgi_globals )
1411
1403
STD_PHP_INI_ENTRY ("fpm.config" , NULL , PHP_INI_SYSTEM , OnUpdateString , fpm_config , php_cgi_globals_struct , php_cgi_globals )
1412
1404
PHP_INI_END ()
@@ -1417,15 +1409,11 @@ static void php_cgi_globals_ctor(php_cgi_globals_struct *php_cgi_globals TSRMLS_
1417
1409
{
1418
1410
php_cgi_globals -> rfc2616_headers = 0 ;
1419
1411
php_cgi_globals -> nph = 0 ;
1420
- php_cgi_globals -> check_shebang_line = 1 ;
1421
1412
php_cgi_globals -> force_redirect = 1 ;
1422
1413
php_cgi_globals -> redirect_status_env = NULL ;
1423
1414
php_cgi_globals -> fix_pathinfo = 1 ;
1424
1415
php_cgi_globals -> discard_path = 0 ;
1425
1416
php_cgi_globals -> fcgi_logging = 1 ;
1426
- #ifdef PHP_WIN32
1427
- php_cgi_globals -> impersonate = 0 ;
1428
- #endif
1429
1417
zend_hash_init (& php_cgi_globals -> user_config_cache , 0 , NULL , (dtor_func_t ) user_config_cache_entry_dtor , 1 );
1430
1418
php_cgi_globals -> error_header = NULL ;
1431
1419
php_cgi_globals -> fpm_config = NULL ;
0 commit comments