projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
123448a
)
Pman.php
author
Alan Knowles
<alan@roojs.com>
Fri, 27 Jul 2018 05:26:34 +0000
(13:26 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 27 Jul 2018 05:26:34 +0000
(13:26 +0800)
Pman.php
patch
|
blob
|
history
diff --git
a/Pman.php
b/Pman.php
index
977b82e
..
3e8af17
100644
(file)
--- a/
Pman.php
+++ b/
Pman.php
@@
-108,10
+108,12
@@
class Pman extends HTML_FlexyFramework_Page
$this->isDev = true;
}
- if ($_SERVER['SERVER_ADDR'] == '127.0.0.1') &&
+ if (
+ ($_SERVER['SERVER_ADDR'] == '127.0.0.1') &&
($_SERVER['REMOTE_ADDR'] == '127.0.0.1') &&
!empty($_REQUEST['isDev'])
) {
+ $ff->Pman['isDev'] = true;
$this->isDev = true;
}