projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
669719c
)
Pman.php
author
Alan Knowles
<alan@roojs.com>
Thu, 14 Jan 2016 09:55:36 +0000
(17:55 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 14 Jan 2016 09:55:36 +0000
(17:55 +0800)
Pman.php
patch
|
blob
|
history
diff --git
a/Pman.php
b/Pman.php
index
d3f9f19
..
0c886ee
100644
(file)
--- a/
Pman.php
+++ b/
Pman.php
@@
-724,13
+724,8
@@
class Pman extends HTML_FlexyFramework_Page
foreach($mods as $mod) {
// add the css file..
- $dir = $this->rootDir.'/Pman/'.$mod;
- $ar = glob($dir . '/*.css');
- foreach($ar as $fn) {
- $css = $this->rootURL .'/Pman/'.$mod.'/'.basename($fn) . '?ts=' . filemtime($fn);
- echo '<link rel="stylesheet" type="text/css" href="'.$css.'" />'."\n";
- }
-
+ $this->outputCSSDir("Pman/$mod","*.css");
+
}