mod-chat MDL-19804 Converted a couple of require calls to require_once calls

This commit is contained in:
Sam Hemelryk
2010-03-23 08:44:04 +00:00
parent 3ae5c7603f
commit 1fe3281dce
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -2,8 +2,8 @@
define('NO_MOODLE_COOKIES', true); // session not used here
require('../../../config.php');
require('../lib.php');
require_once('../../../config.php');
require_once($CFG->dirroot.'/mod/chat/lib.php');
$chat_sid = required_param('chat_sid', PARAM_ALPHANUM);
$chatid = required_param('chat_id', PARAM_INT);
+2 -2
View File
@@ -2,8 +2,8 @@
define('NO_MOODLE_COOKIES', true); // session not used here
require('../../../config.php');
require('../lib.php');
require_once('../../../config.php');
require_once($CFG->dirroot.'/mod/chat/lib.php');
$chat_sid = required_param('chat_sid', PARAM_ALPHANUM);
$beep = optional_param('beep', 0, PARAM_INT); // beep target