diff --git a/www/course.php b/www/course.php index 272f8602f2ad67d53c3f7a792cf5e05830f4ec06..ebf26ce7b76a749988a9fe7b435bddd3b1ed40d4 100644 --- a/www/course.php +++ b/www/course.php @@ -1,6 +1,6 @@ <?php -require_once '../config.inc.php'; +require_once __DIR__ . '/../config.inc.php'; require_once 'UNL/Catalog.php'; $catalog = new UNL_Catalog(); @@ -67,4 +67,4 @@ switch ($format) { echo $catalog->p->maincontentarea; break; } -?> \ No newline at end of file +?>