mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
- URL-opened files now store the HTTP response header in $http_response_header
- Some layout updates
This commit is contained in:
parent
d77aede9a9
commit
3dc7fc54a0
5 changed files with 97 additions and 26 deletions
|
@ -724,14 +724,14 @@ PHP_MINIT_FUNCTION(basic)
|
|||
#endif
|
||||
|
||||
if(PG(allow_url_fopen)) {
|
||||
if(FAILURE==php_register_url_wrapper("http",php_fopen_url_wrap_http)) {
|
||||
if (FAILURE==php_register_url_wrapper("http", php_fopen_url_wrap_http)) {
|
||||
return FAILURE;
|
||||
}
|
||||
if(FAILURE==php_register_url_wrapper("ftp",php_fopen_url_wrap_ftp)) {
|
||||
return FAILURE;
|
||||
if (FAILURE==php_register_url_wrapper("ftp", php_fopen_url_wrap_ftp)) {
|
||||
return FAILURE;
|
||||
}
|
||||
if(FAILURE==php_register_url_wrapper("php",php_fopen_url_wrap_php)) {
|
||||
return FAILURE;
|
||||
if (FAILURE==php_register_url_wrapper("php", php_fopen_url_wrap_php)) {
|
||||
return FAILURE;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue