mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-30 12:20:54 +00:00
it works, though this will also forward the client to the success page
This commit is contained in:
parent
db83689d42
commit
1ec71ebec9
2 changed files with 6 additions and 1 deletions
|
@ -87,7 +87,7 @@
|
||||||
name="Submit"
|
name="Submit"
|
||||||
value="Continue" />
|
value="Continue" />
|
||||||
</div>
|
</div>
|
||||||
<input type="hidden" name="function" value="add_user">
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<div id="signupTooltip"
|
<div id="signupTooltip"
|
||||||
|
|
|
@ -27,6 +27,11 @@ function add_user(){
|
||||||
'access' => $_SERVER['REQUEST_TIME']
|
'access' => $_SERVER['REQUEST_TIME']
|
||||||
);
|
);
|
||||||
$status = write_user( $edit );
|
$status = write_user( $edit );
|
||||||
|
if(Helpers::check_if_game_client()){
|
||||||
|
//if registering ingame then we have to set the header and dont need to reload the template.
|
||||||
|
header('Location: email_sent.php');
|
||||||
|
exit;
|
||||||
|
}
|
||||||
$pageElements['status'] = $status;
|
$pageElements['status'] = $status;
|
||||||
$pageElements['no_visible_elements'] = 'TRUE';
|
$pageElements['no_visible_elements'] = 'TRUE';
|
||||||
$pageElements['ingame_webpath'] = $INGAME_WEBPATH;
|
$pageElements['ingame_webpath'] = $INGAME_WEBPATH;
|
||||||
|
|
Loading…
Reference in a new issue