문제

I'm using squashTM in my work and I want to open bug bugtracker (mantis) which I defined in squash options (there is an option in squash to do that). When I'm opening it in new window everything is correct but in frame I've got an error:

Load denied by X-Frame options: <mantis_main_page_url> does not permit framing

I have this error both in Firefox and IE. What can be wrong? I looked into mantis main page source code but don't know what search and optionally change. Thanks in advance for your help.

도움이 되었습니까?

해결책

MatisBT by default disallows framing, and this is not configurable. You can patch your installation by commenting out the following line in core/http_api.php:

            header( 'X-Frame-Options: DENY' );

The bug tracking making this setting configurable is 12165: Allow mantis to be loaded in an iframe.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top