Changeset 17993

Show
Ignore:
Timestamp:
08/22/08 00:10:56 (3 months ago)
Author:
tokuhirom
Message:

oops

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/Nanto/trunk/lib/Nanto/Config/Any.pm

    r17934 r17993  
    1616 
    1717    $cache->{$class} ||= do { 
    18         my $cfg = catfile(Nanto::Utils::home(__PACKAGE__), config_fname); 
     18        my $cfg = catfile(Nanto::Utils::home($class), config_fname); 
    1919        croak "$cfg not found" unless -f $cfg; 
    2020        Config::Any->load_files({ files => [ $cfg ], use_ext => 1 })->[0]->{$cfg};