projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SimpleExcel.php
[Pman.Core]
/
Asset.php
diff --git
a/Asset.php
b/Asset.php
index
ae1bd61
..
92e43cb
100644
(file)
--- a/
Asset.php
+++ b/
Asset.php
@@
-36,8
+36,6
@@
class Pman_Core_Asset extends Pman {
function get($s='', $opts = Array())
{
function get($s='', $opts = Array())
{
-
-
$this->sessionState(0);
$bits = explode('/', $s);
$this->sessionState(0);
$bits = explode('/', $s);
@@
-51,10
+49,8
@@
class Pman_Core_Asset extends Pman {
$ui = posix_getpwuid(posix_geteuid());
$ff = HTML_FlexyFramework::get();
$ui = posix_getpwuid(posix_geteuid());
$ff = HTML_FlexyFramework::get();
- $compile = self::getCompileDir($bits[0]);
- //'session_save_path() . '/' .
- // $ui['name'] . '-' . $ff->project . '-' . $ff->version . '-'. $bits[0] . 'compile';
-
+ $compile = self::getCompileDir($bits[0], '', false);
+
$fn = $compile . '/'. $s .'.'. $bits[0];
if (!file_exists($fn)) {
$fn = $compile . '/'. $s .'.'. $bits[0];
if (!file_exists($fn)) {
@@
-177,9
+173,10
@@
class Pman_Core_Asset extends Pman {
}
require_once 'System.php';
}
require_once 'System.php';
+ $ff = HTML_FlexyFramework::get();
$mods = $this->modulesList();
$mods = $this->modulesList();
- $mods[] = $ff->project; // Pman
+ $mods[] = $ff->project; // Pman
- this was the old format...
$mods[] = ''; // Pman + appshortname..
foreach ($mods as $module) {
$mods[] = ''; // Pman + appshortname..
foreach ($mods as $module) {