projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b7d5a19
)
AssetTrait.php
author
Alan Knowles
<alan@roojs.com>
Thu, 16 Aug 2018 00:59:15 +0000
(08:59 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 16 Aug 2018 00:59:15 +0000
(08:59 +0800)
AssetTrait.php
patch
|
blob
|
history
diff --git
a/AssetTrait.php
b/AssetTrait.php
index
e875e09
..
eda0399
100644
(file)
--- a/
AssetTrait.php
+++ b/
AssetTrait.php
@@
-66,15
+66,9
@@
trait Pman_Core_AssetTrait {
ksort($arfiles); // just sort by name so it's consistant for serialize..
- $ui = posix_getpwuid(posix_geteuid());
-
-
- $compiledir = session_save_path() . '/' .
- $ui['name'] . '-' . $ff->project . '-' . $ff->version . '-jscompile';
+ require_once 'Pman/Asset.php';
- if (!file_exists($compiledir)) {
- mkdir($compiledir,0700,true);
- }
+ $compiledir = Pman_Asset::getCompileDir(js, '', true);