--- trunk/lib/WebPAC/Config.pm 2007/11/02 13:11:30 966 +++ trunk/lib/WebPAC/Config.pm 2007/11/02 13:11:35 967 @@ -55,6 +55,8 @@ $self->{path} ||= 'conf/config.yml'; + $log->logdie("can't open ", $self->{path}, ": $!") if ! -r $self->{path}; + $self->{config} = LoadFile($self->{path}) || $log->logdie("can't open ",$self->{path}, ": $!");