Skip to content

Commit

Permalink
Fixed paths on includes (we must always use absolute paths because some
Browse files Browse the repository at this point in the history
servers are buggy)
  • Loading branch information
moodler committed Apr 5, 2005
1 parent 219bd60 commit 36bf82b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mod/quiz/question.php
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion mod/quiz/quizfile.php
Expand Up @@ -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;
Expand Down

0 comments on commit 36bf82b

Please sign in to comment.