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);