mirror of
https://github.com/moodle/moodle.git
synced 2025-04-14 13:02:07 +02:00
Merge branch 'MDL-81182' of https://github.com/aolley/moodle
This commit is contained in:
commit
dbc6a5798f
@ -24,7 +24,7 @@
|
||||
*/
|
||||
// Ignore coding standards for login check, this page does not require login.
|
||||
// @codingStandardsIgnoreStart
|
||||
require_once(__DIR__ . '../../../../../../config.php');
|
||||
require_once(__DIR__ . '/../../../../../config.php');
|
||||
$instanceid = required_param('instance', PARAM_INT);
|
||||
$pass = optional_param('pass', '0', PARAM_INT);
|
||||
$secret = optional_param('secret', 0, PARAM_INT);
|
||||
|
@ -22,7 +22,7 @@
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
require_once(__DIR__ . '../../../../../../config.php');
|
||||
require_once(__DIR__ . '/../../../../../config.php');
|
||||
|
||||
require_login(null, false);
|
||||
if (isguestuser()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user