Reload function

This commit is contained in:
Difrex(Denis Zheleztsov) 2014-08-07 22:21:16 +04:00
parent d6e72cbe10
commit e69a09d076

View File

@ -14,6 +14,7 @@ sub new {
return $self;
}
# Load configuration
sub load {
my ($self) = @_;
my $config = $self->{_config};
@ -35,4 +36,11 @@ sub load {
return $c;
}
# Reload configuration
sub reload {
my ($self) = @_;
return II::Config->load();
}
1;