From 90573feb1b158fefe5143cb74cade1689525f769 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Gonz=C3=A1lez?= Date: Wed, 12 May 2021 09:35:35 +0200 Subject: [PATCH] Issue with Perl5 paths --- pandora_server/lib/PandoraFMS/WebServer.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pandora_server/lib/PandoraFMS/WebServer.pm b/pandora_server/lib/PandoraFMS/WebServer.pm index 69ae4dbf93..b900c21fb9 100644 --- a/pandora_server/lib/PandoraFMS/WebServer.pm +++ b/pandora_server/lib/PandoraFMS/WebServer.pm @@ -80,8 +80,8 @@ sub run ($) { # Use Goliat with CURL if ($pa_config->{'web_engine'} eq 'curl') { - require Goliat::GoliatCURL; - Goliat::GoliatCURL->import; + require PandoraFMS::Goliat::GoliatCURL; + PandoraFMS::Goliat::GoliatCURL->import; # Check for CURL binary if (system ("curl -V >$DEVNULL 2>&1") >> 8 != 0) { @@ -98,8 +98,8 @@ sub run ($) { } # Use LWP by default else { - require Goliat::GoliatLWP; - Goliat::GoliatLWP->import; + require PandoraFMS::Goliat::GoliatLWP; + PandoraFMS::Goliat::GoliatLWP->import; 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);