From 442d1cb48f0e01baad68b3050f1944a51b1915ae Mon Sep 17 00:00:00 2001 From: "M.Dent" Date: Wed, 17 Oct 2018 22:21:31 -0400 Subject: Fix template root redirection --- include/plugin.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/plugin.php') diff --git a/include/plugin.php b/include/plugin.php index 7a63cbfc1..8ceb6417e 100755 --- a/include/plugin.php +++ b/include/plugin.php @@ -1071,10 +1071,11 @@ function get_markup_template($s, $root = '') { $s = \App::$override_markup_templates[$testroot][$s]["file"]; $template = $t->get_markup_template($s, $root); } elseif (\App::$override_templateroot) { - $newroot = \App::$override_templateroot . $root; + $newroot = \App::$override_templateroot; if ($newroot != '' && substr($newroot,-1) != '/' ) { $newroot .= '/'; } + $newroot .= $root; $template = $t->get_markup_template($s, $newroot); } else { $template = $t->get_markup_template($s, $root); -- cgit v1.2.3