From be09cfe18422a0c686a4920a1a1a0123e7a51ffa Mon Sep 17 00:00:00 2001 From: Alan Date: Fri, 29 Sep 2023 10:16:12 +0800 Subject: [PATCH] error reporting imporvements --- Pman/Login.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Pman/Login.php b/Pman/Login.php index 44a1a41..0812be5 100644 --- a/Pman/Login.php +++ b/Pman/Login.php @@ -82,9 +82,9 @@ class Pman_Login extends Pman $this->switchPublicUser($_REQUEST['loginPublic']); } if (!empty($_SERVER['HTTP_USER_AGENT']) && preg_match('/^check_http/', $_SERVER['HTTP_USER_AGENT'])) { - die("server is alive = authFailure"); + die("server is alive = authFailure"); // should really use heartbeat now.. } - $this->jerr("INVALID REQUEST"); + $this->jerror("NOTICE-INVALID',INVALID REQUEST"); exit; } -- 2.39.2