Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Fixed links to be relative. This prevents errors on the offchance that

the current URL != $CFG->wwwroot/login
  • Loading branch information...
commit 39df7c9774a80f71a55864c3f8c134665c6ac456 1 parent 2e60a1a
moodler authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 login/index_form.html
4 login/index_form.html
@@ -15,7 +15,7 @@
(<? print_string("cookiesenabled") ?>)<BR>
<? formerr($errormsg) ?>
- <FORM NAME="form" ACTION="<?=$CFG->wwwroot?>/login/index.php" METHOD=post>
+ <FORM NAME="form" ACTION="index.php" METHOD=post>
<table border="0" align="center">
<td width="80%"><FONT SIZE=2>
@@ -43,7 +43,7 @@
<P ALIGN=CENTER><? print_string("someallowguest") ?>:</P>
- <FORM NAME="form2" ACTION="<?=$CFG->wwwroot?>/login/index.php" METHOD=post>
+ <FORM NAME="form2" ACTION="index.php" METHOD=post>
<INPUT TYPE="hidden" NAME="username" VALUE="guest">
<INPUT TYPE="hidden" NAME="password" VALUE="guest">
<INPUT type="submit" NAME="Submit" VALUE="<? print_string("loginguest") ?>">

0 comments on commit 39df7c9

Please sign in to comment.
Something went wrong with that request. Please try again.