浏览代码

Learnpath: Fix issue in comparing document path with code path in document source validation before iframe - refs BT#13822

Yannick Warnier 7 年之前
父节点
当前提交
c94f7cf2f9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      main/lp/learnpath.class.php

+ 1 - 1
main/lp/learnpath.class.php

@@ -11877,7 +11877,7 @@ EOD;
         }
 
         if ($protocolFixApplied == false) {
-            if (strpos(api_get_path(WEB_CODE_PATH), $host) === false) {
+            if (strpos(api_get_path(WEB_PATH), $host) === false) {
                 // Check X-Frame-Options
                 $ch = curl_init();