Fix to use PERLLIB as DOCUMENT_ROOT never set at a time

This commit is contained in:
iliajie
2022-12-05 17:03:51 +02:00
parent d336f5a15b
commit 5f6f65a78f

View File

@ -13,7 +13,7 @@ Full function documentation is in web-lib-funcs.pl.
=cut
package WebminCore;
use lib ("$ENV{'DOCUMENT_ROOT'}/vendor_perl");
use lib ("$ENV{'PERLLIB'}/vendor_perl");
require Exporter;
@ISA = qw(Exporter);