Remove check for updates

This commit is contained in:
KFCSpike
2013-12-01 11:54:44 +00:00
parent 02baf73c9d
commit 78e8721cd7
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -11,7 +11,7 @@
################################################################################# #################################################################################
############ Check Update ############# ############ Check Update #############
copy("http://travian.gamingcrazy.net/Update/update_latest.tpl", "Templates/update_latest.tpl"); //copy("http://travian.gamingcrazy.net/Update/update_latest.tpl", "Templates/update_latest.tpl");
?> ?>
<div align="center"> <div align="center">
+4 -4
View File
@@ -1,10 +1,10 @@
<?php <?php
if($_SESSION['access'] < ADMIN) die("Access Denied: You are not Admin!"); if($_SESSION['access'] < ADMIN) die("Access Denied: You are not Admin!");
include('ver.tpl'); include('ver.tpl');
if(isset($_GET['c'])) //if(isset($_GET['c']))
{ //{
copy("https://raw.github.com/yi12345/TravianZ/master/Admin/Templates/update_latest.tpl", "Templates/update_latest.tpl"); // copy("https://raw.github.com/yi12345/TravianZ/master/Admin/Templates/update_latest.tpl", "Templates/update_latest.tpl");
} //}
include('update_latest.tpl'); include('update_latest.tpl');
/* /*
if(isset($_GET['u'])) if(isset($_GET['u']))