/[webpac2]/trunk/lib/WebPAC/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/WebPAC/Config.pm

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

revision 866 by dpavlin, Thu Jun 21 12:53:41 2007 UTC revision 967 by dpavlin, Fri Nov 2 13:11:35 2007 UTC
# Line 55  sub new { Line 55  sub new {
55    
56          $self->{path} ||= 'conf/config.yml';          $self->{path} ||= 'conf/config.yml';
57    
58            $log->logdie("can't open ", $self->{path}, ": $!") if ! -r $self->{path};
59    
60          $self->{config} = LoadFile($self->{path}) ||          $self->{config} = LoadFile($self->{path}) ||
61                  $log->logdie("can't open ",$self->{path}, ": $!");                  $log->logdie("can't open ",$self->{path}, ": $!");
62    

Legend:
Removed from v.866  
changed lines
  Added in v.967

  ViewVC Help
Powered by ViewVC 1.1.26