diff --git a/jailkit-lib.pl b/jailkit-lib.pl index eb387e8..e8640f3 100644 --- a/jailkit-lib.pl +++ b/jailkit-lib.pl @@ -17,11 +17,7 @@ =head1 jailkit-lib.pl =cut BEGIN { push(@INC, ".."); } -if (eval {require WebminCore;1;} ne 1) { - exit 1; -} else { - WebminCore->import(); -} +eval "use WebminCore;"; init_config(); diff --git a/module.info b/module.info index c9f30f1..e5fcc45 100644 --- a/module.info +++ b/module.info @@ -2,4 +2,4 @@ name=Jailkit desc=Jailkit Jail Manager os_support=*-linux category=system -version=1.0 +version=1.1 \ No newline at end of file