--- /moodle30/user/policy.php 2015-11-15 18:44:55.000000000 +0100 +++ /moodle30/user/policy.php 2016-01-13 12:26:22.167677319 +0100 @@ -86,7 +86,7 @@ echo resourcelib_embed_general($sitepolicy, $strpolicyagreement, $clicktoopen, $mimetype); echo ''; -$formcontinue = new single_button(new moodle_url('policy.php', array('agree' => 1)), get_string('yes')); +$formcontinue = new single_button(new moodle_url($CFG->wwwroot.'/user/policy.php', array('agree' => 1)), get_string('yes')); $formcancel = new single_button(new moodle_url($CFG->wwwroot.'/login/logout.php', array('agree' => 0)), get_string('no')); echo $OUTPUT->confirm($strpolicyagree, $formcontinue, $formcancel);