From 375636cd36e94aea798be46decaa2fb44de19789 Mon Sep 17 00:00:00 2001 From: KHobbits Date: Tue, 1 Nov 2011 16:54:36 +0000 Subject: Code tidy, trigger build id update. --- WebPush/index.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'WebPush/index.php') 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(); } -- cgit v1.2.3