Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/web-scripts/status.php
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-04-12 10:31:28 +0200
committerErich Eckner <git@eckner.net>2018-04-12 10:31:28 +0200
commit5d71db45a01879d6911f45297724346f1cc8aa74 (patch)
treeb1a14c5fb69c6ad432b1fdad2ac442a435ccf5b0 /web-scripts/status.php
parent07596dbcbe43efa50080737f997c02dd711ce3f8 (diff)
web-scripts are now in archweb32
Diffstat (limited to 'web-scripts/status.php')
-rw-r--r--web-scripts/status.php30
1 files changed, 0 insertions, 30 deletions
diff --git a/web-scripts/status.php b/web-scripts/status.php
deleted file mode 100644
index 5050b4b..0000000
--- a/web-scripts/status.php
+++ /dev/null
@@ -1,30 +0,0 @@
-<html>
-<head>
-<?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);
-}
-
-if ( ! $result = $mysql -> query(
- "SELECT MAX(`package_sources`.`commit_time`) AS `last`" .
- "FROM `package_sources`"
- ))
- die($mysql->error);
-
-if ($result -> num_rows > 0) {
-
- $row = $result->fetch_assoc();
- print "latest package source is from " . $row["last"] . ".<br>\n";
-}
-
-?>
-</body>
-</html>