Fixed paths on includes (we must always use absolute paths because some

servers are buggy)
This commit is contained in:
moodler
2005-04-05 13:34:47 +00:00
parent 219bd603a7
commit 36bf82baa5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
require_once("../../config.php");
require_once("lib.php");
require_once("../../files/mimetypes.php");
require_once("$CFG->dirroot/files/mimetypes.php");
optional_variable($id); // question id
+1 -1
View File
@@ -4,7 +4,7 @@
// It is supposed to be used by the quiz module only
require_once("../../config.php");
require_once("../../files/mimetypes.php");
require_once("$CFG->dirroot/files/mimetypes.php");
require_once("lib.php");
$lifetime = 86400;