summaryrefslogtreecommitdiff
path: root/buildmaster/status.php
diff options
context:
space:
mode:
Diffstat (limited to 'buildmaster/status.php')
-rw-r--r--buildmaster/status.php11
1 files changed, 5 insertions, 6 deletions
diff --git a/buildmaster/status.php b/buildmaster/status.php
index 5050b4b..32f386d 100644
--- a/buildmaster/status.php
+++ b/buildmaster/status.php
@@ -1,13 +1,12 @@
<html>
<head>
+<title>Build master status</title>
+<link rel="stylesheet" type="text/css" href="/static/style.css">
+</head>
+<body>
+<a href="https://buildmaster.archlinux32.org/">Start page</a><br>
<?php
-print "<title>Build master status</title>\n";
-print "<link rel=\"stylesheet\" type=\"text/css\" href=\"/static/style.css\">\n";
-print "</head>\n";
-print "<body>\n";
-print "<a href=\"/\">Start page</a><br>\n";
-
$mysql = new mysqli("localhost", "webserver", "empty", "buildmaster");
if ($mysql->connect_error) {
die("Connection failed: " . $mysql->connect_error);