summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--buildmaster/build-log.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildmaster/build-log.php b/buildmaster/build-log.php
index 3cd0051..e2a2fc8 100644
--- a/buildmaster/build-log.php
+++ b/buildmaster/build-log.php
@@ -1,6 +1,7 @@
<?php
require_once "../init.php";
+require_once BASE . "/lib/http.php";
require_once BASE . "/lib/helper.php";
require_once BASE . "/lib/mysql.php";
@@ -28,5 +29,4 @@ $result = mysql_run_query(
$result = $result -> fetch_assoc();
-header('HTTP/1.1 303 See Other');
-header('Location: https://buildmaster.archlinux32.org/build-logs/error/' . $result['log_file']);
+redirect_temporarily('https://buildmaster.archlinux32.org/build-logs/error/' . $result['log_file']);