projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e634f8f
)
fix regex
author
Alan
<alan@roojs.com>
Thu, 2 Mar 2023 03:55:26 +0000
(11:55 +0800)
committer
Alan
<alan@roojs.com>
Thu, 2 Mar 2023 03:55:26 +0000
(11:55 +0800)
Pman/Login.php
patch
|
blob
|
history
diff --git
a/Pman/Login.php
b/Pman/Login.php
index
1378c87
..
f759770
100644
(file)
--- a/
Pman/Login.php
+++ b/
Pman/Login.php
@@
-81,7
+81,7
@@
class Pman_Login extends Pman
if (!empty($_REQUEST['loginPublic'])) {
$this->switchPublicUser($_REQUEST['loginPublic']);
}
- if (!empty($_SERVER['HTTP_USER_AGENT']) && preg_match('/^check_http
.
', $_SERVER['HTTP_USER_AGENT'])) {
+ if (!empty($_SERVER['HTTP_USER_AGENT']) && preg_match('/^check_http
/
', $_SERVER['HTTP_USER_AGENT'])) {
die("server is alive");
}
$this->jerr("INVALID REQUEST");