로그인시 쓰기권한 fclose전에 is_resource로 검사

This commit is contained in:
thisgun
2022-07-25 10:30:19 +09:00
parent 95492a5cd8
commit fa7d0bc717

View File

@ -153,7 +153,7 @@ if( is_admin($mb['mb_id']) && is_dir(G5_DATA_PATH.'/tmp/') ){
$tmp_data_check = false;
}
}
@fclose($tmp_data_check);
if (is_resource($tmp_data_check)) @fclose($tmp_data_check);
@unlink($tmp_data_file);
if(! $tmp_data_check){