function get($s='', $opts = Array())
{
-
-
$this->sessionState(0);
$bits = explode('/', $s);
$ui = posix_getpwuid(posix_geteuid());
$ff = HTML_FlexyFramework::get();
- $compile = 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)) {
switch($type) {
case 'js':
case 'css':
+ case 'scss':
$compile_dir .= implode("-", array(
$ui['name'],
$module,
}
require_once 'System.php';
+ $ff = HTML_FlexyFramework::get();
$mods = $this->modulesList();
- $mods[] = $ff->project;
- $mods[] = $ff->project;
+ $mods[] = $ff->project; // Pman - this was the old format...
+ $mods[] = ''; // Pman + appshortname..
foreach ($mods as $module) {
$compile_dir = $this->getCompileDir('js', $module, false);