Skip to content

Commit

Permalink
BUGFIX: Uses $rooturl from config.php rather than hardcoded path
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/phpsurveyor@2055 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
jcleeland committed Sep 5, 2006
1 parent d2470fa commit 98ebacf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions admin/html.php
Expand Up @@ -1047,7 +1047,7 @@

if($action == "forgotpassword")
{
$loginsummary = "<form name='forgot' id='forgot' method='post' action='http://{$_SERVER['SERVER_NAME']}/phpsurveyor/admin/admin.php' ><br /><strong>"._("You have to enter user name and email.")."</strong><br /> <br />
$loginsummary = "<form name='forgot' id='forgot' method='post' action='$rooturl/admin/admin.php' ><br /><strong>"._("You have to enter user name and email.")."</strong><br /> <br />
<table>
<tr>
<td><p>"._("Username")."</p></td>
Expand All @@ -1067,7 +1067,7 @@
}
else
{
$loginsummary = "<form name='login' id='login' method='post' action='http://{$_SERVER['SERVER_NAME']}/phpsurveyor/admin/admin.php' ><br /><strong>"._("You have to login first.")."</strong><br /> <br />
$loginsummary = "<form name='login' id='login' method='post' action='$rooturl/admin/admin.php' ><br /><strong>"._("You have to login first.")."</strong><br /> <br />
<table>
<tr>
<td><p>"._("Username")."</p></td>
Expand Down

0 comments on commit 98ebacf

Please sign in to comment.