Merge branch 'MDL-70409-310' of git://github.com/merrill-oakland/moodle into MOODLE_3...
authorSara Arjona <sara@moodle.com>
Tue, 15 Dec 2020 15:15:50 +0000 (16:15 +0100)
committerSara Arjona <sara@moodle.com>
Tue, 15 Dec 2020 15:15:50 +0000 (16:15 +0100)
mod/chat/gui_header_js/jsupdate.php
mod/chat/gui_header_js/jsupdated.php
mod/chat/gui_sockets/chatinput.php

index 726a14b..29e42ef 100644 (file)
@@ -17,7 +17,7 @@
 define('NO_MOODLE_COOKIES', true); // Session not used here.
 
 require('../../../config.php');
-require('../lib.php');
+require_once('../lib.php');
 
 $chatsid      = required_param('chat_sid', PARAM_ALPHANUM);
 $chatlasttime = optional_param('chat_lasttime', 0, PARAM_INT);
index 3e564c6..6842678 100644 (file)
@@ -34,7 +34,7 @@ define('NO_MOODLE_COOKIES', true); // Session not used here.
 define('NO_OUTPUT_BUFFERING', true);
 
 require('../../../config.php');
-require('../lib.php');
+require_once('../lib.php');
 
 // We are going to run for a long time.
 // Avoid being terminated by php.
index 0bfd9c0..799731e 100644 (file)
@@ -17,7 +17,7 @@
 define('NO_MOODLE_COOKIES', true); // Session not used here.
 
 require('../../../config.php');
-require('../lib.php');
+require_once('../lib.php');
 
 $chatsid = required_param('chat_sid', PARAM_ALPHANUM);