mirror of
https://github.com/php/php-src.git
synced 2025-08-18 23:18:56 +02:00
removed some bogus code
This commit is contained in:
parent
c420d653ee
commit
604876542a
1 changed files with 5 additions and 9 deletions
|
@ -110,16 +110,12 @@ PHPAPI int php_unregister_url_wrapper(char *protocol)
|
||||||
|
|
||||||
int php_init_fopen_wrappers(void)
|
int php_init_fopen_wrappers(void)
|
||||||
{
|
{
|
||||||
int status = SUCCESS;
|
|
||||||
PLS_FETCH();
|
PLS_FETCH();
|
||||||
|
|
||||||
if(PG(allow_url_fopen)) {
|
if(PG(allow_url_fopen))
|
||||||
if (zend_hash_init(&fopen_url_wrappers_hash, 0, NULL, NULL, 1)==FAILURE) {
|
return zend_hash_init(&fopen_url_wrappers_hash, 0, NULL, NULL, 1);
|
||||||
return FAILURE;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return status;
|
return SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
int php_shutdown_fopen_wrappers(void)
|
int php_shutdown_fopen_wrappers(void)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue