From 5d71db45a01879d6911f45297724346f1cc8aa74 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 12 Apr 2018 10:31:28 +0200 Subject: web-scripts are now in archweb32 --- web-scripts/status.php | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 web-scripts/status.php (limited to 'web-scripts/status.php') 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 @@ - - -Build master status\n"; -print "\n"; -print "\n"; -print "\n"; -print "Start page
\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"] . ".
\n"; -} - -?> - - -- cgit v1.2.3-70-g09d2