mirror of
https://github.com/php/php-src.git
synced 2025-08-16 14:08:47 +02:00
fixed a crash in cli mode when apache_request_headers() is called
This commit is contained in:
parent
ecfb3af78f
commit
f9d84f4f6b
1 changed files with 2 additions and 1 deletions
|
@ -1055,7 +1055,8 @@ PHP_FUNCTION(litespeed_request_headers)
|
||||||
}
|
}
|
||||||
array_init(return_value);
|
array_init(return_value);
|
||||||
|
|
||||||
LSAPI_ForeachOrgHeader( add_associate_array, return_value );
|
if ( lsapi_mode )
|
||||||
|
LSAPI_ForeachOrgHeader( add_associate_array, return_value );
|
||||||
|
|
||||||
}
|
}
|
||||||
/* }}} */
|
/* }}} */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue