mod-chat MDL-19804 Converted a couple of require calls to require_once calls
This commit is contained in:
@@ -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,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
|
||||
|
||||
Reference in New Issue
Block a user