Skip to content

Commit

Permalink
MDL-69061 core: Require linkable_settings_page.php using $CFG->admin
Browse files Browse the repository at this point in the history
  • Loading branch information
junpataleta committed Jan 11, 2022
1 parent e885801 commit 5804180
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/adminlib.php
Expand Up @@ -114,7 +114,7 @@
// Add classes, traits, and interfaces which should be autoloaded.
// The autoloader is configured late in setup.php, after ABORT_AFTER_CONFIG.
// This is also required where the setup system is not included at all.
require_once($CFG->dirroot.'/admin/classes/local/settings/linkable_settings_page.php');
require_once($CFG->dirroot.'/'.$CFG->admin.'/classes/local/settings/linkable_settings_page.php');

define('INSECURE_DATAROOT_WARNING', 1);
define('INSECURE_DATAROOT_ERROR', 2);
Expand Down

0 comments on commit 5804180

Please sign in to comment.