diff options
Diffstat (limited to 'IkiWiki/Render.pm')
-rw-r--r-- | IkiWiki/Render.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm index e8ed627a4..dbc07d817 100644 --- a/IkiWiki/Render.pm +++ b/IkiWiki/Render.pm @@ -320,7 +320,8 @@ sub find_src_files (;$$$) { my $helper=sub { my $file=decode_utf8($_); - return if -l $file || -d _; + return if -d $file; + return if !$config{allow_symlinks} and -l $file; $file=~s/^\.\///; return if ! length $file; $page = pagename($file); |