projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12f5d75
)
Pman.php
author
Alan Knowles
<alan@roojs.com>
Fri, 27 Jul 2018 05:24:56 +0000
(13:24 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 27 Jul 2018 05:24:56 +0000
(13:24 +0800)
Pman.php
patch
|
blob
|
history
diff --git
a/Pman.php
b/Pman.php
index
db93e03
..
977b82e
100644
(file)
--- a/
Pman.php
+++ b/
Pman.php
@@
-108,6
+108,13
@@
class Pman extends HTML_FlexyFramework_Page
$this->isDev = true;
}
+ if ($_SERVER['SERVER_ADDR'] == '127.0.0.1') &&
+ ($_SERVER['REMOTE_ADDR'] == '127.0.0.1') &&
+ !empty($_REQUEST['isDev'])
+ ) {
+ $this->isDev = true;
+ }
+
// if a file Pman_{module}_Pman exists.. and it has an init function... - call that..
//var_dump($this->appModules);