projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fixed config->{home} to be absolute
[catagits/Catalyst-Runtime.git]
/
lib
/
Catalyst.pm
diff --git
a/lib/Catalyst.pm
b/lib/Catalyst.pm
index
3f8efc2
..
2aa4003
100644
(file)
--- 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