Permalink
Browse files

Full paths on includes, to help some machines

  • Loading branch information...
1 parent 75c4504 commit b2e0d6b6a27892b4d3f9a4e48d91fdfb1eb23abd moodler committed Sep 7, 2004
Showing with 5 additions and 5 deletions.
  1. +5 −5 index.php
View
@@ -12,11 +12,11 @@
define('BLOCK_R_MIN_WIDTH', 160);
define('BLOCK_R_MAX_WIDTH', 210);
- require_once("config.php");
- require_once("course/lib.php");
- require_once('lib/blocklib.php');
- require_once("mod/resource/lib.php");
- require_once("mod/forum/lib.php");
+ require_once('config.php');
+ require_once($CFG->dirroot.'course/lib.php');
+ require_once($CFG->dirroot.'lib/blocklib.php');
+ require_once($CFG->dirroot.'mod/resource/lib.php');
+ require_once($CFG->dirroot.'mod/forum/lib.php');
if (! $site = get_site()) {
redirect("$CFG->wwwroot/$CFG->admin/index.php");

0 comments on commit b2e0d6b

Please sign in to comment.