projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69b6584
)
JsCompile.php
author
Alan Knowles
<alan@akbkhome.com>
Fri, 17 Sep 2010 07:54:00 +0000
(15:54 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 17 Sep 2010 07:54:00 +0000
(15:54 +0800)
JsCompile.php
patch
|
blob
|
history
diff --git
a/JsCompile.php
b/JsCompile.php
index
19d8991
..
56217fc
100644
(file)
--- a/
JsCompile.php
+++ b/
JsCompile.php
@@
-69,9
+69,12
@@
class Pman_Core_JsCompile extends Pman
}
phpinfo();exit;
- $src = realpath(dirname(__FILE__).'/../'. $proj);
+ $src= array_shift(explode(PATH_SEPARATOR, ini_get('include_path'))) .'/Pman/'. $proj;
+
echo $src. "\n";exit;
+
+
$tmp = ini_get('session.save_path')."/{$proj}_". posix_getuid(). '_'.md5($src);