Skip to content

Instantly share code, notes, and snippets.

@genakim

genakim/yandex_metrika.diff Secret

Created Mar 3, 2021
Embed
What would you like to do?
--- 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