|
|
| Participants: |
Dan Marsden, Tim Hunt and Urs Hunkler
|
| Security Level: |
None
|
| QA Assignee: |
Tim Hunt
|
| Resolved date: |
08/Aug/08
|
| Affected Branches: |
MOODLE_18_STABLE
|
| Fixed Branches: |
MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE
|
|
mod/scorm/player.php Line 140
<script type="text/javascript" src="<?=$CFG->wwwroot?>/mod/scorm/rd.js"></script>
The PHP short form "<?=$CFG->wwwroot?>" doesn't work on all servers. Under certain circumstances the short form is not resolved and the script not loaded. I have gotten this issue now.
Moodle programing guidelines propose not to use the short forms. Please replace with
<script type="text/javascript" src="<?php echo $CFG->wwwroot ?>/mod/scorm/rd.js"></script>
|
|
Description
|
mod/scorm/player.php Line 140
<script type="text/javascript" src="<?=$CFG->wwwroot?>/mod/scorm/rd.js"></script>
The PHP short form "<?=$CFG->wwwroot?>" doesn't work on all servers. Under certain circumstances the short form is not resolved and the script not loaded. I have gotten this issue now.
Moodle programing guidelines propose not to use the short forms. Please replace with
<script type="text/javascript" src="<?php echo $CFG->wwwroot ?>/mod/scorm/rd.js"></script>
|
Show » |
committed 1 file to 'Moodle CVS' - 08/Aug/08 04:46 AM
MDL-15967 - must use full php tags, not shortags - thanks Urs
|
|
|
committed 1 file to 'Moodle CVS' on branch 'MOODLE_19_STABLE' - 08/Aug/08 04:47 AM
MDL-15967 - must use full php tags, not shortags - thanks Urs merged from head
|
|
|
committed 1 file to 'Moodle CVS' on branch 'MOODLE_18_STABLE' - 08/Aug/08 04:48 AM
MDL-15967 - must use full php tags, not shortags - thanks Urs merged from head
|
|
|
|