Reload function
This commit is contained in:
parent
d6e72cbe10
commit
e69a09d076
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user