projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c49b1e
)
Pman.php
author
Alan Knowles
<alan@roojs.com>
Thu, 12 Apr 2018 02:52:38 +0000
(10:52 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 12 Apr 2018 02:52:38 +0000
(10:52 +0800)
Pman.php
patch
|
blob
|
history
diff --git
a/Pman.php
b/Pman.php
index
93ebcc3
..
9fbd729
100644
(file)
--- a/
Pman.php
+++ b/
Pman.php
@@
-803,6
+803,11
@@
class Pman extends HTML_FlexyFramework_Page
$basedir = $compile ? $ff->Pman['public_cache_dir'] : false;
$baseurl = $compile ? $ff->Pman['public_cache_url'] : false;
+ if (!empty($_REQUEST['_isDev']) && $_SERVER['HTTP_HOST'] == 'localhost') {
+ $compile = false;
+ }
+
+
$lsort = create_function('$a,$b','return strlen($a) > strlen($b) ? 1 : -1;');
usort($files, $lsort);