mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Fixed four more references to mimetypes.php (bug 2690) Thanks, Gustav!
This commit is contained in:
parent
ec00f82454
commit
8a0556be8c
4 changed files with 4 additions and 4 deletions
|
@ -18,7 +18,7 @@ function display() {
|
|||
$course = $this->course;
|
||||
$resource = $this->resource;
|
||||
|
||||
require_once("$CFG->dirroot/files/mimetypes.php");
|
||||
require_once($CFG->libdir.'/filelib.php');
|
||||
|
||||
$subdir = isset($_GET['subdir']) ? $_GET['subdir'] : '';
|
||||
|
||||
|
|
|
@ -207,7 +207,7 @@ function display() {
|
|||
|
||||
|
||||
/// First, find out what sort of file we are dealing with.
|
||||
require_once("$CFG->dirroot/files/mimetypes.php");
|
||||
require_once($CFG->libdir.'/filelib.php');
|
||||
|
||||
$querystring = '';
|
||||
$resourcetype = '';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue