projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
157990c
)
Pman.php
author
Alan Knowles
<alan@roojs.com>
Thu, 25 Oct 2018 03:10:17 +0000
(11:10 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 25 Oct 2018 03:10:17 +0000
(11:10 +0800)
Pman.php
patch
|
blob
|
history
diff --git
a/Pman.php
b/Pman.php
index
77683de
..
fd0f032
100644
(file)
--- a/
Pman.php
+++ b/
Pman.php
@@
-103,7
+103,9
@@
class Pman extends HTML_FlexyFramework_Page
$this->version = $boot->version;
$this->uiConfig = empty($boot->Pman['uiConfig']) ? false : $boot->Pman['uiConfig'];
- if (!empty($boot->Pman['local_autoauth']) &&
+ if (!empty($boot->Pman['local_autoauth']) &&
+ !empty($_SERVER['SERVER_ADDR']) &&
+ !empty($_SERVER['REMOTE_ADDR']) &&
($_SERVER['SERVER_ADDR'] == '127.0.0.1') &&
($_SERVER['REMOTE_ADDR'] == '127.0.0.1')
) {