How To Get SMF 2.0.6 to Open in a New Frame

Published Date Author: , Posted October 23rd, 2013 at 5:50:51pm

The latest patch version of the SMF forum, 2.0.6, now prevents the site from opening up in an HTML frame.

Simply comment out line 104 inside index.php:

The Problem:
$ grep -Rni X-Frame-Options *
index.php:104: header('X-Frame-Options: SAMEORIGIN');

The Solution:
//header('X-Frame-Options: SAMEORIGIN');

No comments as yet.

Leave Your Comment  Leave a comment

All fields marked with "*" are required.