Browse Source

force text/javascript header

Yannick Warnier 14 năm trước cách đây
mục cha
commit
ac1ce2e3a1
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      main/newscorm/scorm_api.php

+ 1 - 0
main/newscorm/scorm_api.php

@@ -41,6 +41,7 @@ if (!is_object($oItem)) {
 	exit;
 }
 $autocomplete_when_80pct = 0;
+header('Content-type: text/javascript');
 /*
  * JavaScript Functions
  */