Permalink
Browse files

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

  • Loading branch information...
1 parent f6f6138 commit 6366fdcc6cef34378077ce26004da8a7c2a4f7b7 @andyjdavis andyjdavis committed Jul 12, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 message/discussion.php
@@ -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 6366fdc

Please sign in to comment.