summaryrefslogtreecommitdiff
path: root/buildmaster/status.php
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-07-25 14:29:54 +0200
committerErich Eckner <git@eckner.net>2019-07-25 14:29:54 +0200
commitbe0e7c8498c3f065c9dbdc1300b84d41b2aa6739 (patch)
treea322ef48b2e22c24b3c6ec57c26dfbc1213ff17c /buildmaster/status.php
parent161d73af81750c5cd27bee032ae54174ca895609 (diff)
downloadwebsite-be0e7c8498c3f065c9dbdc1300b84d41b2aa6739.tar.xz
lib/mysql.php: abort_iff_webspider() new - for now only logging the user agent
Diffstat (limited to 'buildmaster/status.php')
-rw-r--r--buildmaster/status.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/buildmaster/status.php b/buildmaster/status.php
index 05a4455..7dfbc48 100644
--- a/buildmaster/status.php
+++ b/buildmaster/status.php
@@ -4,6 +4,8 @@ include BASE . "/lib/mysql.php";
include BASE . "/lib/style.php";
include BASE . "/lib/helper.php";
+abort_iff_webspider();
+
$result = mysql_run_query(
"SELECT MAX(`package_sources`.`commit_time`) AS `last_commit`" .
" FROM `package_sources`"