summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Xerl/Page/Content.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/Xerl/Page/Content.pm b/Xerl/Page/Content.pm
index 3b7ef5c..29fc519 100644
--- a/Xerl/Page/Content.pm
+++ b/Xerl/Page/Content.pm
@@ -118,7 +118,8 @@ sub _insertrules($$$) {
}
elsif ( lc $name eq 'includerun' ) {
my $scriptpath = $config->get_contentpath() . $text;
- push @content, eval $scriptpath;
+
+ push @content, eval $scriptcode;
}
elsif ( lc $name eq 'navigation' ) {