diff --git a/Templates/Ajax/mapscroll.tpl b/Templates/Ajax/mapscroll.tpl index 9ea997b6..4285806c 100644 --- a/Templates/Ajax/mapscroll.tpl +++ b/Templates/Ajax/mapscroll.tpl @@ -1,9 +1,9 @@ dblink)); mysqli_select_db(SQL_DB, $connection) or die(mysqli_error($database->dblink)); diff --git a/anleitung.php b/anleitung.php index 813de02d..b0fbcabb 100644 --- a/anleitung.php +++ b/anleitung.php @@ -11,9 +11,9 @@ use App\Utils\AccessLogger; -include("GameEngine/config.php"); -include("GameEngine/Database.php"); -include("GameEngine/Lang/".LANG.".php"); +include_once("GameEngine/config.php"); +include_once("GameEngine/Database.php"); +include_once("GameEngine/Lang/".LANG.".php"); AccessLogger::logRequest(); ?> diff --git a/impressum.php b/impressum.php index 6eda0704..984b3134 100644 --- a/impressum.php +++ b/impressum.php @@ -16,9 +16,9 @@ use App\Utils\AccessLogger; -include("GameEngine/config.php"); -include("GameEngine/Database.php"); -include("GameEngine/Lang/".LANG.".php"); +include_once("GameEngine/config.php"); +include_once("GameEngine/Database.php"); +include_once("GameEngine/Lang/".LANG.".php"); AccessLogger::logRequest(); ?> diff --git a/index.php b/index.php index bd5c8b99..4611f747 100644 --- a/index.php +++ b/index.php @@ -24,7 +24,7 @@ exit; } -include ("GameEngine/config.php"); +include_once("GameEngine/config.php"); /* if($_SERVER['HTTP_HOST'] != '.SERVER.') { diff --git a/manual.php b/manual.php index 93dc3b3d..faa96407 100644 --- a/manual.php +++ b/manual.php @@ -11,7 +11,7 @@ ## ## ################################################################################# -include("GameEngine/config.php"); +include_once("GameEngine/config.php"); ?> diff --git a/password.php b/password.php index ee49ed5a..e9fd537c 100644 --- a/password.php +++ b/password.php @@ -15,11 +15,11 @@ header("Location: install/"); exit; } -include("GameEngine/config.php"); -include("GameEngine/Lang/" . LANG . ".php"); -include("GameEngine/Database.php"); -include("GameEngine/Mailer.php"); -include("GameEngine/Generator.php"); +include_once("GameEngine/config.php"); +include_once("GameEngine/Lang/" . LANG . ".php"); +include_once("GameEngine/Database.php"); +include_once("GameEngine/Mailer.php"); +include_once("GameEngine/Generator.php"); AccessLogger::logRequest(); if(!isset($_REQUEST['npw'])){ diff --git a/spielregeln.php b/spielregeln.php index b0d12012..aba6d644 100644 --- a/spielregeln.php +++ b/spielregeln.php @@ -11,9 +11,9 @@ use App\Utils\AccessLogger; -include("GameEngine/config.php"); -include("GameEngine/Database.php"); -include("GameEngine/Lang/".LANG.".php"); +include_once("GameEngine/config.php"); +include_once("GameEngine/Database.php"); +include_once("GameEngine/Lang/".LANG.".php"); AccessLogger::logRequest(); ?> diff --git a/tutorial.php b/tutorial.php index 5f5be032..c0db5c8d 100644 --- a/tutorial.php +++ b/tutorial.php @@ -12,9 +12,9 @@ use App\Utils\AccessLogger; -include("GameEngine/config.php"); -include("GameEngine/Database.php"); -include("GameEngine/Lang/".LANG.".php"); +include_once("GameEngine/config.php"); +include_once("GameEngine/Database.php"); +include_once("GameEngine/Lang/".LANG.".php"); AccessLogger::logRequest(); ?>