projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2408acb
)
Asset.php
author
john
<john@roojs.com>
Wed, 15 Aug 2018 06:11:27 +0000
(14:11 +0800)
committer
john
<john@roojs.com>
Wed, 15 Aug 2018 06:11:27 +0000
(14:11 +0800)
Asset.php
patch
|
blob
|
history
diff --git
a/Asset.php
b/Asset.php
index
892d6b3
..
85abf79
100644
(file)
--- a/
Asset.php
+++ b/
Asset.php
@@
-130,5
+130,12
@@
class Pman_Core_Asset extends Pman {
}
$ui = posix_getpwuid(posix_geteuid());
+
+ $compiledir = session_save_path() . '/' .
+ $ui['name'] . '-' . $ff->project . '-' . $ff->version . '-jscompile';
+
+ if (!file_exists($compiledir)) {
+ mkdir($compiledir,0700,true);
+ }
}
}