diff --git a/main/newscorm/learnpath.class.php b/main/newscorm/learnpath.class.php index f1c93f842d..4d0fdb327a 100755 --- a/main/newscorm/learnpath.class.php +++ b/main/newscorm/learnpath.class.php @@ -10680,8 +10680,8 @@ EOD; $headers = substr($response, 0, $httpCode['header_size']); $error = false; - if (stripos($headers, 'X-Frame-Options: DENY') > -1 || - stripos($headers, 'X-Frame-Options: SAMEORIGIN') > -1 + if (stripos($headers, 'X-Frame-Options: DENY') > -1 + //|| stripos($headers, 'X-Frame-Options: SAMEORIGIN') > -1 ) { $error = true; }