From e48ea57db9469ecdcecd4817b6498e951515908e Mon Sep 17 00:00:00 2001 From: johnnyq Date: Wed, 15 Jul 2026 18:45:27 -0400 Subject: [PATCH] Clean up agent post handler - Remove dead referer/module parsing (unused since modules are glob-loaded) - Anchor includes and glob to __DIR__ so loading doesn't depend on CWD - Replace _model.php regex check with str_ends_with() --- agent/post.php | 44 ++++++++++++-------------------------------- 1 file changed, 12 insertions(+), 32 deletions(-) diff --git a/agent/post.php b/agent/post.php index 39c5630a..9c498ba6 100644 --- a/agent/post.php +++ b/agent/post.php @@ -1,43 +1,23 @@