diff --git a/Admin/Templates/update.tpl b/Admin/Templates/update.tpl index 915ddae2..ef417542 100644 --- a/Admin/Templates/update.tpl +++ b/Admin/Templates/update.tpl @@ -1,75 +1,62 @@ -open('update.zip') === TRUE) - { - $zip->extractTo('../'); - $zip->close(); - unlink('update.zip'); - echo "Successfully Updated to Version $dl ";; - } - else - { - echo 'Failed to update to Version $dl'; - } - } - } -} -?> -
Guys don`t forget to register at the forum to receive information of the updates"
\ No newline at end of file +open('update.zip') === TRUE) + { + $zip->extractTo('../'); + $zip->close(); + unlink('update.zip'); + header("Location: admin.php?p=update&s"); + } else {echo 'Update Failed';} +} +?> +Guys don`t forget to register at the forum to receive information of the updates"
\ No newline at end of file diff --git a/Admin/Templates/update_latest.tpl b/Admin/Templates/update_latest.tpl index e20fbc52..958df616 100644 --- a/Admin/Templates/update_latest.tpl +++ b/Admin/Templates/update_latest.tpl @@ -1,3 +1,3 @@ \ No newline at end of file diff --git a/Admin/Templates/ver.tpl b/Admin/Templates/ver.tpl index 6644a362..7c8a0f25 100644 --- a/Admin/Templates/ver.tpl +++ b/Admin/Templates/ver.tpl @@ -1,3 +1,3 @@ \ No newline at end of file diff --git a/Admin/admin.php b/Admin/admin.php index ec566b5e..d43abdbf 100644 --- a/Admin/admin.php +++ b/Admin/admin.php @@ -93,6 +93,7 @@ $timeformat = new timeFormatGenerator; Server Homepage Control Panel Home Return to the server + Server Update