diff options
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(); } |