]> git.mjollnir.org Git - moodle.git/commitdiff
$PAGE MDL-19077 Call set_url on login page explicitly to avoid warnings
authormoodler <moodler>
Thu, 3 Sep 2009 08:14:04 +0000 (08:14 +0000)
committermoodler <moodler>
Thu, 3 Sep 2009 08:14:04 +0000 (08:14 +0000)
login/index.php

index 099c60c80391fece3136637f82dfe7ae6841d661..c8efd9a01ca7e7b5196f7f08f81c4e600305e04c 100644 (file)
@@ -11,6 +11,8 @@
     $context = get_context_instance(CONTEXT_SYSTEM);
     $PAGE->set_course($SITE);
 
+    $PAGE->set_url($CFG->wwwroot.'/login/index.php');
+
     //initialize variables
     $errormsg = '';
     $errorcode = 0;