projects
/
Pman.Base
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ignore login request for testing
[Pman.Base]
/
Pman
/
Login.php
diff --git
a/Pman/Login.php
b/Pman/Login.php
index
6ca67e5
..
1378c87
100644
(file)
--- a/
Pman/Login.php
+++ b/
Pman/Login.php
@@
-81,7
+81,9
@@
class Pman_Login extends Pman
if (!empty($_REQUEST['loginPublic'])) {
$this->switchPublicUser($_REQUEST['loginPublic']);
}
if (!empty($_REQUEST['loginPublic'])) {
$this->switchPublicUser($_REQUEST['loginPublic']);
}
-
+ if (!empty($_SERVER['HTTP_USER_AGENT']) && preg_match('/^check_http.', $_SERVER['HTTP_USER_AGENT'])) {
+ die("server is alive");
+ }
$this->jerr("INVALID REQUEST");
exit;
}
$this->jerr("INVALID REQUEST");
exit;
}