diff --git a/Admin/Templates/update.tpl b/Admin/Templates/update.tpl
index e9a78f76..63d91f7c 100644
--- a/Admin/Templates/update.tpl
+++ b/Admin/Templates/update.tpl
@@ -3,9 +3,10 @@ if($_SESSION['access'] < ADMIN) die("Access Denied: You are not Admin!");
include('ver.tpl');
if(isset($_GET['c']))
{
- copy("http://travian.gamingcrazy.net/Update/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');
+/*
if(isset($_GET['u']))
{
for ($dl=$ver+1; $dl<=$latest; $dl++)
@@ -24,7 +25,7 @@ if(isset($_GET['u']))
$zip->extractTo('../');
$zip->close();
unlink('update.zip');
- echo "Successfully Updated to Version $dl.
";;
+ echo "Successfully Updated to Version $dl.
";
}
else
{
@@ -33,6 +34,7 @@ if(isset($_GET['u']))
}
}
}
+*/
?>
$ver)
{
- echo'![]() ![]() | |||
| Visit Forum | -![]() |
+ ![]() |
|
Guys don`t forget to register at the forum to receive information of the updates
Advertise your Server here http://mmorpgd.tk/forum-10.html
\ No newline at end of file + \ No newline at end of file diff --git a/install/templates/config.tpl b/install/templates/config.tpl index c0613f98..cfec0f38 100644 --- a/install/templates/config.tpl +++ b/install/templates/config.tpl @@ -158,7 +158,7 @@ echo "| Hostname: | |
| Username: | |
| Password: | |
| Password: | |
| DB name: | |
| Prefix: | Type: |