Fixed four more references to mimetypes.php (bug 2690) Thanks, Gustav!

This commit is contained in:
moodler 2005-03-07 15:11:43 +00:00
parent ec00f82454
commit 8a0556be8c
4 changed files with 4 additions and 4 deletions

View file

@ -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'] : '';

View file

@ -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 = '';