projects
/
catagits/Catalyst-Runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
0347394
)
Fixed config->{home} to be absolute
Christian Hansen [Thu, 2 Jun 2005 20:38:01 +0000 (20:38 +0000)]
lib/Catalyst.pm
patch
|
blob
|
blame
|
history
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