File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
vanilla/applications/dashboard/settings Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 1
1
<?php if (!defined ('APPLICATION ' )) exit ();
2
2
3
3
$ Configuration ['Garden ' ]['Installed ' ] = true ;
4
+ //Embed
5
+ $ Configuration ['Garden ' ]['Embed ' ]['Allow ' ] = true ;
6
+ $ Configuration ['Garden ' ]['Embed ' ]['ForceForum ' ] = true ;
4
7
5
8
$ Configuration ['Database ' ]['Name ' ] = getenv ('MYSQL_DATABASE ' );
6
9
$ Configuration ['Database ' ]['Host ' ] = getenv ('MYSQL_HOST ' );
Original file line number Diff line number Diff line change @@ -254,7 +254,8 @@ public function base_render_before($sender) {
254
254
$ sender ->addJsFile ('embed_local.js ' );
255
255
}
256
256
} else {
257
- $ sender ->setHeader ('X-Frame-Options ' , 'SAMEORIGIN ' );
257
+ // FIX: MFE-9 issue: add this header sporadically
258
+ // $sender->setHeader('X-Frame-Options', 'SAMEORIGIN');
258
259
}
259
260
260
261
You can’t perform that action at this time.
0 commit comments