|
@@ -48,7 +48,7 @@ header('Content-type: text/javascript');
|
|
|
/*
|
|
|
* JavaScript Functions
|
|
|
*/
|
|
|
-?>var scorm_logs=<?php echo ((empty($oLP->scorm_debug) or !api_is_course_admin())?'0':'3');?>; //debug log level for SCORM. 0 = none, 1=light, 2=a lot, 3=all - displays logs in log frame
|
|
|
+?>var scorm_logs=<?php echo ((empty($oLP->scorm_debug) or (!api_is_course_admin() && !api_is_platform_admin()) )?'0':'3');?>; //debug log level for SCORM. 0 = none, 1=light, 2=a lot, 3=all - displays logs in log frame
|
|
|
var lms_logs=0; //debug log level for LMS actions. 0=none, 1=light, 2=a lot, 3=all
|
|
|
//logit_lms('scormfunctions.php included',0);
|
|
|
|
|
@@ -1918,4 +1918,4 @@ function attach_glossary_into_scorm(type) {
|
|
|
});
|
|
|
}
|
|
|
}
|
|
|
-}
|
|
|
+}
|