XF 2.2 download intercepted


I have developed a membership panel plugin, and I only allow specific users to download resources through the membership panel.
However, I found that the returned resource files are being intercepted by core-compiled.js, as shown in the attached image.
How can I solve this problem?

(I need to perform special operations on resources using PHP, which varies depending on the user. Therefore, I can only use my own PHP instead of using the Resources that come with XenForo.)
Top Bottom