summaryrefslogtreecommitdiff
path: root/Xerl/Page/Content.pm
diff options
context:
space:
mode:
authorPaul C. Buetow (mars.fritz.box) <paul@buetow.org>2014-04-27 12:42:39 +0200
committerPaul C. Buetow (mars.fritz.box) <paul@buetow.org>2014-04-27 12:42:39 +0200
commit5c8a2197c22cdc7f1eb69df07e907b54a37f8edd (patch)
tree2be8009f6688cf3e5d186eca2df5f1fd4af8d6b9 /Xerl/Page/Content.pm
parent8acfe20d33b698c9e2235d1161276ff1344cf434 (diff)
I fell asleep reading a dull book, and I dreamt that I was reading on,
so I woke up from sheer boredom.
Diffstat (limited to 'Xerl/Page/Content.pm')
-rw-r--r--Xerl/Page/Content.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Xerl/Page/Content.pm b/Xerl/Page/Content.pm
index 29fc519..3a33c85 100644
--- a/Xerl/Page/Content.pm
+++ b/Xerl/Page/Content.pm
@@ -118,8 +118,8 @@ sub _insertrules($$$) {
}
elsif ( lc $name eq 'includerun' ) {
my $scriptpath = $config->get_contentpath() . $text;
-
- push @content, eval $scriptcode;
+ my $io = Xerl::Tools::FileIO->new( path => $scriptpath );
+ push @content, eval $io->fslurp();
}
elsif ( lc $name eq 'navigation' ) {