mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
- Fixing bug that was preveting uploaded files to be shown...
Uploaded files parsing is not ready so it's desabled by code...
This commit is contained in:
parent
3bfe3922c2
commit
0c4a0e80b7
@ -160,7 +160,7 @@
|
||||
echo "<br />";
|
||||
echo "<center><img class=\"resourceimage\" src=\"$fullurl\"></center>";
|
||||
echo "<br />";
|
||||
} else if ($resourcehtml and $CFG->resource_filterexternalpages) {
|
||||
} else if ($resourcehtml and $fetchingprefix) {
|
||||
echo "<br />";
|
||||
|
||||
$content = resource_fetch_remote_file("$fetchingprefix$fullurl");
|
||||
@ -183,7 +183,7 @@
|
||||
$fullurl = "$CFG->wwwroot/file.php?file=/$course->id/$resource->reference";
|
||||
}
|
||||
|
||||
if ($resourcehtml and $CFG->resource_filterexternalpages) {
|
||||
if ( $resourcehtml and $fetchingprefix ) {
|
||||
echo "<frame src=\"fetch.php?id=$cm->id&url=$fetchingprefix$fullurl\">";
|
||||
} else {
|
||||
echo "<frame src=\"$fullurl\">";
|
||||
@ -291,4 +291,4 @@
|
||||
break;
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
Loading…
x
Reference in New Issue
Block a user