Fixed config->{home} to be absolute
Christian Hansen [Thu, 2 Jun 2005 20:38:01 +0000 (20:38 +0000)]
lib/Catalyst.pm

index 3f8efc2..2aa4003 100644 (file)
@@ -312,6 +312,10 @@ sub import {
             $caller->log->warn(qq/$e is not a directory "$h"/);
         }
     }
+    
+    if ( -d $home ) {
+        $home = dir($home)->absolute;
+    }
 
     if ( $caller->debug ) {
         $home