[Jifty-commit] r1346 - in jifty/trunk: lib/Jifty

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Thu Jun 22 11:20:50 EDT 2006


Author: trs
Date: Thu Jun 22 11:20:49 2006
New Revision: 1346

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/lib/Jifty/Web.pm

Log:
 r13296 at zot:  tom | 2006-06-22 11:20:31 -0400
 Make the paths absolute


Modified: jifty/trunk/lib/Jifty/Web.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Web.pm	(original)
+++ jifty/trunk/lib/Jifty/Web.pm	Thu Jun 22 11:20:49 2006
@@ -1023,14 +1023,18 @@
         Jifty->log->debug("Generating JS...");
         
         my @roots = (
-            File::Spec->catdir(
-                Jifty->config->framework('Web')->{'StaticRoot'},
-                'js'
-            ), 
-
-            File::Spec->catdir(
-                Jifty->config->framework('Web')->{'DefaultStaticRoot'},
-                'js'
+            Jifty::Util->absolute_path(
+                File::Spec->catdir(
+                    Jifty->config->framework('Web')->{'StaticRoot'},
+                    'js'
+                )
+            ),
+
+            Jifty::Util->absolute_path(
+                File::Spec->catdir(
+                    Jifty->config->framework('Web')->{'DefaultStaticRoot'},
+                    'js'
+                )
             ),
         );
         


More information about the Jifty-commit mailing list