Need trailing / to match docs.

This commit is contained in:
Chris 2013-09-13 11:47:49 +01:00
parent 34573de581
commit 2ebee7fa82

View File

@ -357,7 +357,7 @@ sub set_template_dir {
$self -> {"templatepath"} .= "/" unless($self -> {"templatepath"} =~ m|/$|); # templatepath must have trailing slash $self -> {"templatepath"} .= "/" unless($self -> {"templatepath"} =~ m|/$|); # templatepath must have trailing slash
# The URL... # The URL...
$self -> {"templateurl"} = path_join($self -> {"cgi"} -> url(-base => 1), $self -> {"templatepath"}) $self -> {"templateurl"} = path_join($self -> {"cgi"} -> url(-base => 1), $self -> {"templatepath"})."/"
if($self -> {"cgi"}); if($self -> {"cgi"});
# And the common path, if possible # And the common path, if possible