Fixed config->{home} to be absolute
[catagits/Catalyst-Runtime.git] / lib / Catalyst.pm
index be6fb6d..2aa4003 100644 (file)
@@ -11,7 +11,7 @@ our $CATALYST_SCRIPT_GEN = 4;
 
 __PACKAGE__->mk_classdata($_) for qw/dispatcher engine log/;
 
-our $VERSION = '5.22';
+our $VERSION = '5.23';
 our @ISA;
 
 =head1 NAME
@@ -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