]> git.mjollnir.org Git - moodle.git/commitdiff
fixing fatal error in message lib - relative path to config.php
authormjollnir_ <mjollnir_>
Tue, 16 Sep 2008 18:54:49 +0000 (18:54 +0000)
committermjollnir_ <mjollnir_>
Tue, 16 Sep 2008 18:54:49 +0000 (18:54 +0000)
message/output/popup/message_output_popup.php

index cfa1c8ef8c3c67e56beac416abb4f6733ab60efd..799da5b5e93812c197daed780cc49724ed58572c 100644 (file)
@@ -32,7 +32,7 @@
  * @package 
  */
 
-require_once('../config.php'); //included from messagelib (how to fix?)
+require_once(dirname(dirname(dirname(dirname(__FILE__)))) . '/config.php'); //included from messagelib (how to fix?)
 require_once($CFG->dirroot.'/message/output/lib.php');
 
 class message_output_popup extends message_output{