Asset.php
[Pman.Core] / Asset.php
index 4d1eeff..03c34db 100644 (file)
--- a/Asset.php
+++ b/Asset.php
@@ -1,13 +1,20 @@
 <?php
  
  /**
-  * Generic cached assset server...
+  * Generic cached assset server... -- No security o this..
   *
   *
   * Also includes code to generate assets...
   *
-  * Hydra generates a url for the compressed files as /Asset/css/xxxx.yyy.zzz
+  * methods outputJavascriptDir / outputCssDir generate links to 
+  *    BASEURL/Asset/css/xxxx.yyy.zzz
+  *    BASEURL/Asset/js/xxxx.yyy.zzz
   *
+  *   then
+  *   we deliver the file from
+  *       SESSION-DIR/{$www-user}-{$ff->project}-$ff->version}-{js|css}-compile/{filename}/PATH';
+  *
+  *   
   */
  
 require_once 'Pman.php';
@@ -20,6 +27,11 @@ class Pman_Core_Asset extends Pman {
         'js' => 'text/javascript',
     );
     
+    function getAuth()
+    {
+        return true;
+    }
+    
     
     function get($s='')
     {