From 507867b76db6442de85dc7d641eeede86281e524 Mon Sep 17 00:00:00 2001 From: Charles Fulton Date: Thu, 5 Apr 2018 11:28:54 -0400 Subject: [PATCH] MDL-61860 auth: standardise config inclusion --- auth/test_settings.php | 2 +- enrol/test_settings.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/auth/test_settings.php b/auth/test_settings.php index a0ff227d42f..c0eef4b5686 100644 --- a/auth/test_settings.php +++ b/auth/test_settings.php @@ -22,7 +22,7 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -require(__DIR__.'../../config.php'); +require(__DIR__.'/../config.php'); require_once("$CFG->libdir/adminlib.php"); $auth = optional_param('auth', '', PARAM_RAW); diff --git a/enrol/test_settings.php b/enrol/test_settings.php index b8ae94a9a42..30efd91b59a 100644 --- a/enrol/test_settings.php +++ b/enrol/test_settings.php @@ -22,7 +22,7 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -require(__DIR__.'../../config.php'); +require(__DIR__.'/../config.php'); require_once("$CFG->libdir/adminlib.php"); $enrol = optional_param('enrol', '', PARAM_RAW);