From: Christian Hansen Date: Thu, 2 Jun 2005 20:38:01 +0000 (+0000) Subject: Fixed config->{home} to be absolute X-Git-Tag: 5.7099_04~1342 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=c571e72ba408ecf1af0010563f19b460b2a2a8f9 Fixed config->{home} to be absolute --- diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index 3f8efc2..2aa4003 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -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