mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-25 05:56:13 +00:00
security update by netsoundrad
This commit is contained in:
@@ -22,6 +22,24 @@ header("Location: install/");
|
||||
}
|
||||
|
||||
include ("GameEngine/config.php");
|
||||
//Change it to your own domain
|
||||
if($_SERVER['HTTP_HOST'] != 'www.travianix.co.cc')
|
||||
{
|
||||
header('location: http://www.travianix.co.cc');
|
||||
exit;
|
||||
}
|
||||
|
||||
error_reporting(E_ALL || E_NOTICE);
|
||||
|
||||
if(file_exists('Security/Security.class.php'))
|
||||
{
|
||||
require 'Security/Security.class.php';
|
||||
Security::instance();
|
||||
}
|
||||
else
|
||||
{
|
||||
die('Security: Please activate security class!');
|
||||
}
|
||||
include ("GameEngine/Database.php");
|
||||
include ("GameEngine/Lang/".LANG.".php");
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user