Skip to content

Commit

Permalink
Update SignUpPage.php
Browse files Browse the repository at this point in the history
  • Loading branch information
sgao404 committed Dec 7, 2014
1 parent a6ab601 commit 0dfa93c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Display/SignUpPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 34,10 @@ public function __construct($designation)
UPF::set_and_gen_cookie($user->UserID);
$success = true;
$this->setUser($user->UserID);
parent::__construct('Sign Up Successful','Sign Up Successful','start using now',$scripts);
//parent::__construct('Sign Up Successful','Sign Up Successful','start using now',$scripts);

header('Location: /Gamified-Nutrition/profileedit.php');
die();
}
else if(!$aval)
{
Expand Down Expand Up @@ -81,7 84,7 @@ public function __construct($designation)
</form>
EOD;
if($success)
header('Location: /Gamified_Nutrition/profileedit.php');
die();
$body = "<p>Success as $name</p>";
$this->setBodyFromString($body);
}
}

0 comments on commit 0dfa93c

Please sign in to comment.