summaryrefslogtreecommitdiff
path: root/web-scripts/packages.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/packages.php
parent07596dbcbe43efa50080737f997c02dd711ce3f8 (diff)
downloadbuilder-5d71db45a01879d6911f45297724346f1cc8aa74.tar.xz
web-scripts are now in archweb32
Diffstat (limited to 'web-scripts/packages.php')
-rw-r--r--web-scripts/packages.php20
1 files changed, 0 insertions, 20 deletions
diff --git a/web-scripts/packages.php b/web-scripts/packages.php
deleted file mode 100644
index b7c0196..0000000
--- a/web-scripts/packages.php
+++ /dev/null
@@ -1,20 +0,0 @@
-<?php
-
- $mysql = new mysqli("localhost", "webserver", "empty", "buildmaster");
- if ($mysql->connect_error) {
- die("Connection to mysql database failed: " . $mysql->connect_error);
- }
-
- $result = $mysql -> query("SELECT * FROM `binary_packages`");
- if ($result -> num_rows > 0) {
- while($row = $result->fetch_assoc()) {
- foreach ($row as $key => $val) {
- print $key .": ".$val." - ";
- }
- print "<br>\n";
- }
- }
-
- print 'OK';
-
-?>