mirror of
https://github.com/php/php-src.git
synced 2024-09-23 19:07:26 +00:00
no need to do TSRMLS_FETCH() twice
This commit is contained in:
parent
112f263591
commit
fbeb246a3a
@ -153,8 +153,6 @@ PHPAPI int php_checkuid_ex(const char *filename, char *fopen_mode, int mode, int
|
||||
} else if (PG(safe_mode_gid) && dgid == php_getgid()) {
|
||||
return 1;
|
||||
} else {
|
||||
TSRMLS_FETCH();
|
||||
|
||||
if (SG(rfc1867_uploaded_files)) {
|
||||
if (zend_hash_exists(SG(rfc1867_uploaded_files), (char *) filename, strlen(filename)+1)) {
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user