/[Frey]/trunk/lib/Frey/Config.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/lib/Frey/Config.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 436 by dpavlin, Mon Nov 17 19:33:29 2008 UTC revision 437 by dpavlin, Wed Nov 19 01:29:16 2008 UTC
# Line 37  our %config; Line 37  our %config;
37    
38  sub load_config {  sub load_config {
39          my $self = shift;          my $self = shift;
40            %config = ();
41          foreach my $name ( 'config', 'site_config', ref($self), @_ ) {          foreach my $name ( 'config', 'site_config', ref($self), @_ ) {
42                  my $path = "etc/$name.yml";                  my $path = "etc/$name.yml";
43                  if ( $path =~ s{::}{/}g ) {                  if ( $path =~ s{::}{/}g ) {

Legend:
Removed from v.436  
changed lines
  Added in v.437

  ViewVC Help
Powered by ViewVC 1.1.26