Fix to use unified path for all third party Perl modules
This commit is contained in:
@@ -12,6 +12,8 @@ Full function documentation is in web-lib-funcs.pl.
|
||||
|
||||
=cut
|
||||
|
||||
use lib ("$ENV{'PERLLIB'}/vendor_perl");
|
||||
|
||||
$main::export_to_caller = 1;
|
||||
package WebminCore;
|
||||
require Exporter;
|
||||
|
||||
@@ -4,7 +4,6 @@ BEGIN { push(@INC, ".."); };
|
||||
use WebminCore;
|
||||
&init_config();
|
||||
|
||||
use lib './lib';
|
||||
use POSIX;
|
||||
use Encode qw(decode encode);
|
||||
use File::Basename;
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
#!/usr/local/bin/perl
|
||||
# Show a terminal that is connected to a Websockets server via Webmin proxying
|
||||
|
||||
use lib ("$ENV{'DOCUMENT_ROOT'}/xterm/lib");
|
||||
|
||||
require './xterm-lib.pl';
|
||||
&ReadParse();
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/usr/local/bin/perl
|
||||
# Start a websocket server connected to a shell
|
||||
|
||||
use lib ("$ENV{'PERLLIB'}/xterm/lib");
|
||||
use lib ("$ENV{'PERLLIB'}/vendor_perl");
|
||||
use Net::WebSocket::Server;
|
||||
use utf8;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user