projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8b533df
)
error reporting imporvements
author
Alan
<alan@roojs.com>
Fri, 29 Sep 2023 02:16:12 +0000
(10:16 +0800)
committer
Alan
<alan@roojs.com>
Fri, 29 Sep 2023 02:16:12 +0000
(10:16 +0800)
Pman/Login.php
patch
|
blob
|
history
diff --git
a/Pman/Login.php
b/Pman/Login.php
index
44a1a41
..
0812be5
100644
(file)
--- 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->jerr
or("NOTICE-INVALID',
INVALID REQUEST");
exit;
}