mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-09 14:16:08 +00:00
fix: login + logout pages redirect to install, if not installed yet
This commit is contained in:
@@ -10,6 +10,11 @@
|
||||
## ##
|
||||
#################################################################################
|
||||
|
||||
if(!file_exists('var/installed')) {
|
||||
header("Location: install/");
|
||||
exit;
|
||||
}
|
||||
|
||||
include('GameEngine/Account.php');
|
||||
$invited=(isset($_GET['uid'])) ? filter_var($_GET['uid'], FILTER_SANITIZE_NUMBER_INT):$form->getError('invt');
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user