aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2012-08-19 17:24:25 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2012-08-19 17:24:25 +0200
commitd70f57a22afd14edf1d3b153201d6d919f30fa77 (patch)
tree3cae67c8beb972804d68e612d0e46f43c5fa137e
parentBetter connect error handling. (diff)
downloadoldgen-zmusic-d70f57a22afd14edf1d3b153201d6d919f30fa77.tar.xz
oldgen-zmusic-d70f57a22afd14edf1d3b153201d6d919f30fa77.zip
Update header order.
-rw-r--r--updateapplication.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/updateapplication.php b/updateapplication.php
index 722aa90..7a06730 100644
--- a/updateapplication.php
+++ b/updateapplication.php
@@ -1,3 +1,9 @@
+<?php
+set_time_limit(0);
+require_once("authenticate.php");
+require_once("databaseauthenticate.php");
+?>
+
<html>
<head>
<title>ZX2C4 Music Updater</title>
@@ -14,9 +20,6 @@ p
</head>
<body>
<?php
-set_time_limit(0);
-require_once("authenticate.php");
-require_once("databaseauthenticate.php");
echo "<h2>ZX2C4 Music Updater</h2>";
echo "<p>Downloading tarball...";
if(copy("http://git.zx2c4.com/ZX2C4Music/snapshot/ZX2C4Music-master.tar.gz", "latest.tar.gz"))