diff options
author | KHobbits <rob@khobbits.co.uk> | 2011-11-01 16:54:36 +0000 |
---|---|---|
committer | KHobbits <rob@khobbits.co.uk> | 2011-11-01 16:54:36 +0000 |
commit | 375636cd36e94aea798be46decaa2fb44de19789 (patch) | |
tree | 1054761f941770593adfcef5559de466a5fb93bb /WebPush/index.php | |
parent | dd87dcdd3d3d94d00a38dbb37280fad183356601 (diff) | |
download | Essentials-375636cd36e94aea798be46decaa2fb44de19789.tar Essentials-375636cd36e94aea798be46decaa2fb44de19789.tar.gz Essentials-375636cd36e94aea798be46decaa2fb44de19789.tar.lz Essentials-375636cd36e94aea798be46decaa2fb44de19789.tar.xz Essentials-375636cd36e94aea798be46decaa2fb44de19789.zip |
Code tidy, trigger build id update.
Diffstat (limited to 'WebPush/index.php')
-rw-r--r-- | WebPush/index.php | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/WebPush/index.php b/WebPush/index.php index ab018bf27..fc3405fe2 100644 --- a/WebPush/index.php +++ b/WebPush/index.php @@ -22,14 +22,15 @@ $build = $_GET['buildid']; $branch = $_GET['branch']; $version = $_GET['version']; -if ($build == "" || $branch == "" || $version == "") -{ - die(); +include('../build/function.php'); +updateval($branch); + +if ($build == "" || $branch == "" || $version == "") { + die('Invalid'); } //Don't upload dev builds atm. -if ($branch == "bt2") -{ +if ($branch == "bt2") { die(); } |