MDL-13431 - SCORM results not transferring to Gradebook. Add logging mechanism so that launched URI can be traced.

This commit is contained in:
piers 2008-08-20 23:30:26 +00:00
parent 4be9093068
commit 1eb6604eb7

View File

@ -143,5 +143,9 @@
</head>
<body onload="doredirect();">
<p><?php echo get_string('activityloading', 'scorm');?> <span id="countdown"><?php echo $delayseconds ?></span> <?php echo get_string('numseconds');?>. &nbsp; <img src='<?php echo $scormpixdir;?>/wait.gif'><p>
<?php if (debugging('',DEBUG_DEVELOPER)) {
add_to_log($course->id, 'scorm', 'launch', 'view.php?id='.$cm->id, $result, $cm->id);
}
?>
</body>
</html>