mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-10 09:19:01 +00:00
this should fix it :D!
This commit is contained in:
parent
4da16dbaad
commit
7b1c32176d
2 changed files with 7 additions and 1 deletions
|
@ -82,7 +82,6 @@
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<input type="hidden" name="function" value="add_user">
|
|
||||||
<div class="c1">
|
<div class="c1">
|
||||||
<input type="submit"
|
<input type="submit"
|
||||||
name="Submit"
|
name="Submit"
|
||||||
|
|
|
@ -33,6 +33,13 @@ if ( ! isset( $_GET["page"]) ){
|
||||||
$page = $_GET["page"];
|
$page = $_GET["page"];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//check if ingame & page= register
|
||||||
|
//this is needed because the ingame register can't send a hidden $_POST["function"]
|
||||||
|
if ( Helpers::check_if_game_client() && $page.equals("register")){
|
||||||
|
require( "func/add_user.php" );
|
||||||
|
$return = add_user();
|
||||||
|
}
|
||||||
|
|
||||||
//perform an action in case one is specified
|
//perform an action in case one is specified
|
||||||
//else check if a php page is included in the inc folder, else just set page to the get param
|
//else check if a php page is included in the inc folder, else just set page to the get param
|
||||||
if ( isset( $_POST["function"] ) ){
|
if ( isset( $_POST["function"] ) ){
|
||||||
|
|
Loading…
Reference in a new issue