Permalink
Browse files

MDL-28210 messaging: Fixed requires problems in /message/discussion.php

  • Loading branch information...
1 parent c43a4be commit 9cf58aba08d7ca03550a1d4569499e5f5c5b6760 @andyjdavis andyjdavis committed with stronk7 Jul 12, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 message/discussion.php
View
@@ -24,8 +24,8 @@
* @package message
*/
- require('../config.php');
- require('lib.php');
+ require(dirname(dirname(__FILE__)) . '/config.php');
+ require_once(dirname(__FILE__) . '/lib.php');
//the same URL params as in 1.9
$userid = required_param('id', PARAM_INT);

0 comments on commit 9cf58ab

Please sign in to comment.