summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Xerl/Page/Content.pm3
-rw-r--r--xerl.conf1
2 files changed, 3 insertions, 1 deletions
diff --git a/Xerl/Page/Content.pm b/Xerl/Page/Content.pm
index 6cadd9a..b63d710 100644
--- a/Xerl/Page/Content.pm
+++ b/Xerl/Page/Content.pm
@@ -112,7 +112,8 @@ sub _insertrules {
# Fetch via LWP::Simple
#my $got = get($text);
# Bug in FreeBSD Perl and LWP Module
- my $got = `curl "$text"`;
+ my $curl = $config->get_curlpath();
+ my $got = `$curl "$text"`;
if ($!) {
push @content, "$text: $!";
} else {
diff --git a/xerl.conf b/xerl.conf
index df4b930..a310825 100644
--- a/xerl.conf
+++ b/xerl.conf
@@ -16,3 +16,4 @@ defaulttemplate=html5
hidesubhome=1
hostroot=/usr/local/www/xerlhosts/branches/stable/hosts/
404=http://paul.buetow.org
+curlpath=/usr/local/bin/curl