mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
Issue with Perl5 paths
This commit is contained in:
parent
dc15f736b5
commit
90573feb1b
@ -80,8 +80,8 @@ sub run ($) {
|
|||||||
|
|
||||||
# Use Goliat with CURL
|
# Use Goliat with CURL
|
||||||
if ($pa_config->{'web_engine'} eq 'curl') {
|
if ($pa_config->{'web_engine'} eq 'curl') {
|
||||||
require Goliat::GoliatCURL;
|
require PandoraFMS::Goliat::GoliatCURL;
|
||||||
Goliat::GoliatCURL->import;
|
PandoraFMS::Goliat::GoliatCURL->import;
|
||||||
|
|
||||||
# Check for CURL binary
|
# Check for CURL binary
|
||||||
if (system ("curl -V >$DEVNULL 2>&1") >> 8 != 0) {
|
if (system ("curl -V >$DEVNULL 2>&1") >> 8 != 0) {
|
||||||
@ -98,8 +98,8 @@ sub run ($) {
|
|||||||
}
|
}
|
||||||
# Use LWP by default
|
# Use LWP by default
|
||||||
else {
|
else {
|
||||||
require Goliat::GoliatLWP;
|
require PandoraFMS::Goliat::GoliatLWP;
|
||||||
Goliat::GoliatLWP->import;
|
PandoraFMS::Goliat::GoliatLWP->import;
|
||||||
|
|
||||||
if (! LWP::UserAgent->can('ssl_opts')) {
|
if (! LWP::UserAgent->can('ssl_opts')) {
|
||||||
logger($pa_config, "LWP version $LWP::VERSION does not support SSL. Make sure version 6.0 or higher is installed.", 1);
|
logger($pa_config, "LWP version $LWP::VERSION does not support SSL. Make sure version 6.0 or higher is installed.", 1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user