diff --git a/GameEngine/Admin/Mods/editAdminInfo.php b/GameEngine/Admin/Mods/editAdminInfo.php index 747c02dd..672ae9cf 100755 --- a/GameEngine/Admin/Mods/editAdminInfo.php +++ b/GameEngine/Admin/Mods/editAdminInfo.php @@ -14,7 +14,7 @@ if($_SESSION['access'] < 9) die(ACCESS_DENIED_ADMIN); include_once("../../Database.php"); $id = (int) $_POST['id']; -if (file_exists('constant_format.tpl')) { +if (!file_exists('constant_format.tpl')) { die( 'You seem to be running a new version of TravianZ which was installed using an old installer.
' . 'Please download constant_format.tpl file and copy it into the GameEngine/Admin/Mods ' . diff --git a/GameEngine/Admin/Mods/editExtraSet.php b/GameEngine/Admin/Mods/editExtraSet.php index e4b4cdc1..7ad37818 100755 --- a/GameEngine/Admin/Mods/editExtraSet.php +++ b/GameEngine/Admin/Mods/editExtraSet.php @@ -14,7 +14,7 @@ if($_SESSION['access'] < 9) die(ACCESS_DENIED_ADMIN); include_once("../../Database.php"); $id = (int) $_POST['id']; -if (file_exists('constant_format.tpl')) { +if (!file_exists('constant_format.tpl')) { die( 'You seem to be running a new version of TravianZ which was installed using an old installer.
' . 'Please download constant_format.tpl file and copy it into the GameEngine/Admin/Mods ' . diff --git a/GameEngine/Admin/Mods/editLogSet.php b/GameEngine/Admin/Mods/editLogSet.php index 14b801b2..59b1ab1f 100755 --- a/GameEngine/Admin/Mods/editLogSet.php +++ b/GameEngine/Admin/Mods/editLogSet.php @@ -14,7 +14,7 @@ if($_SESSION['access'] < 9) die(ACCESS_DENIED_ADMIN); include_once("../../Database.php"); $id = (int) $_POST['id']; -if (file_exists('constant_format.tpl')) { +if (!file_exists('constant_format.tpl')) { die( 'You seem to be running a new version of TravianZ which was installed using an old installer.
' . 'Please download constant_format.tpl file and copy it into the GameEngine/Admin/Mods ' . diff --git a/GameEngine/Admin/Mods/editNewsboxSet.php b/GameEngine/Admin/Mods/editNewsboxSet.php index 10a2fc9c..f1ec6e0e 100755 --- a/GameEngine/Admin/Mods/editNewsboxSet.php +++ b/GameEngine/Admin/Mods/editNewsboxSet.php @@ -14,7 +14,7 @@ if($_SESSION['access'] < 9) die(ACCESS_DENIED_ADMIN); include_once("../../Database.php"); $id = (int) $_POST['id']; -if (file_exists('constant_format.tpl')) { +if (!file_exists('constant_format.tpl')) { die( 'You seem to be running a new version of TravianZ which was installed using an old installer.
' . 'Please download constant_format.tpl file and copy it into the GameEngine/Admin/Mods ' . diff --git a/GameEngine/Admin/Mods/editPlusSet.php b/GameEngine/Admin/Mods/editPlusSet.php index 1ff28834..6f271bd4 100644 --- a/GameEngine/Admin/Mods/editPlusSet.php +++ b/GameEngine/Admin/Mods/editPlusSet.php @@ -15,7 +15,7 @@ include_once("../../Database.php"); include_once("../../config.php"); $id = (int) $_POST['id']; -if (file_exists('constant_format.tpl')) { +if (!file_exists('constant_format.tpl')) { die( 'You seem to be running a new version of TravianZ which was installed using an old installer.
' . 'Please download constant_format.tpl file and copy it into the GameEngine/Admin/Mods ' . diff --git a/GameEngine/Admin/Mods/editServerSet.php b/GameEngine/Admin/Mods/editServerSet.php index 78838fa4..dc883216 100755 --- a/GameEngine/Admin/Mods/editServerSet.php +++ b/GameEngine/Admin/Mods/editServerSet.php @@ -14,7 +14,7 @@ if($_SESSION['access'] < 9) die(ACCESS_DENIED_ADMIN); include_once("../../Database.php"); $id = (int) $_POST['id']; -if (file_exists('constant_format.tpl')) { +if (!file_exists('constant_format.tpl')) { die( 'You seem to be running a new version of TravianZ which was installed using an old installer.
' . 'Please download constant_format.tpl file and copy it into the GameEngine/Admin/Mods ' .