Skip to content

Instantly share code, notes, and snippets.

@genakim
Created March 3, 2021 11:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save genakim/31ff005ef018c6ea3546b66fb6a7dfae to your computer and use it in GitHub Desktop.
Save genakim/31ff005ef018c6ea3546b66fb6a7dfae to your computer and use it in GitHub Desktop.
--- a/app/Tygh/Bootstrap.php
+++ b/app/Tygh/Bootstrap.php
@@ -39,7 +39,7 @@ class Bootstrap
public static function sendHeaders($is_https = false)
{
// Click-jacking protection
- header('X-Frame-Options: SAMEORIGIN');
+ // header('X-Frame-Options: SAMEORIGIN');
// Cache-preventing headers sending removed from here,
// because this is done by session_start() depending on the session.cache_limiter configruation parameter value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment