remove code trying to prevent caching of config objects
This commit is contained in:
parent
e530222d49
commit
894385396c
4 changed files with 7 additions and 7 deletions
|
|
@ -18,7 +18,7 @@ use File::Spec;
|
|||
use POE::Component::IKC::ClientLite;
|
||||
use Spectre::Admin;
|
||||
use WebGUI::Paths -inc;
|
||||
use WebGUI::Config;
|
||||
use Config::JSON;
|
||||
use JSON;
|
||||
|
||||
$|=1; # disable output buffering
|
||||
|
|
@ -47,7 +47,7 @@ GetOptions(
|
|||
pod2usage( verbose => 2 ) if $help;
|
||||
pod2usage() unless ($ping||$shutdown||$daemon||$run||$test||$status);
|
||||
|
||||
my $config = WebGUI::Config->new( WebGUI::Paths->spectreConfig, 1);
|
||||
my $config = Config::JSON->new( WebGUI::Paths->spectreConfig);
|
||||
unless (defined $config) {
|
||||
print <<STOP;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue