Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/packages
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 /packages
parent161d73af81750c5cd27bee032ae54174ca895609 (diff)
lib/mysql.php: abort_iff_webspider() new - for now only logging the user agent
Diffstat (limited to 'packages')
-rw-r--r--packages/differences.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/differences.php b/packages/differences.php
index 0673715..9dbb51c 100644
--- a/packages/differences.php
+++ b/packages/differences.php
@@ -6,6 +6,8 @@ require_once BASE . "/lib/helper.php";
require_once BASE . "/lib/style.php";
require_once BASE . "/lib/mysql.php";
+abort_iff_webspider();
+
$uri_parts = explode('?', $_SERVER['REQUEST_URI'], 2);
if (count($uri_parts) > 1)
$options = $uri_parts[1];