Skip to content

Commit

Permalink
MDL-61860 auth: standardise config inclusion
Browse files Browse the repository at this point in the history
  • Loading branch information
mackensen committed Apr 5, 2018
1 parent 39fab18 commit baab371
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion auth/test_settings.php
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion enrol/test_settings.php
Expand Up @@ -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);
Expand Down

0 comments on commit baab371

Please sign in to comment.