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