fix variables on update
[Pman.Core] / Asset.php
index 484a69d..eb5c053 100644 (file)
--- a/Asset.php
+++ b/Asset.php
@@ -36,8 +36,6 @@ class Pman_Core_Asset extends Pman {
     
     function get($s='', $opts = Array())
     {
-
-        
         $this->sessionState(0);
         
         $bits = explode('/', $s);
@@ -140,6 +138,7 @@ class Pman_Core_Asset extends Pman {
         switch($type) {
             case 'js':
             case 'css':
+            case 'scss':
                 $compile_dir .= implode("-", array(
                     $ui['name'],
                     $module,
@@ -175,9 +174,10 @@ class Pman_Core_Asset extends Pman {
         }
         
         require_once 'System.php';
+        $ff = HTML_FlexyFramework::get();
         
         $mods = $this->modulesList();
-        $mods[] = $ff->project; // Pman
+        $mods[] = $ff->project; // Pman - this was the old format...
         $mods[] = ''; // Pman + appshortname..
         
         foreach ($mods as $module) {