projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1cc1aa
)
JsCompile.php
author
Alan Knowles
<alan@akbkhome.com>
Fri, 17 Sep 2010 08:58:18 +0000
(16:58 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 17 Sep 2010 08:58:18 +0000
(16:58 +0800)
JsCompile.php
patch
|
blob
|
history
diff --git
a/JsCompile.php
b/JsCompile.php
index
d7c138c
..
38c9003
100644
(file)
--- a/
JsCompile.php
+++ b/
JsCompile.php
@@
-140,7
+140,8
@@
class Pman_Core_JsCompile extends Pman
}
function gatherProjects() {
- $src = realpath(dirname(__FILE__).'/../');
+ $src= array_shift(explode(PATH_SEPARATOR, ini_get('include_path'))) .'/Pman';
+
$ret = array();
foreach(scandir($src) as $f) {
if (!strlen($f) || $f[0] == '.') {