From 03cd37109582cdde4987d3c0c8df64a45e5679c6 Mon Sep 17 00:00:00 2001 From: "origami11@yandex.ru" Date: Wed, 20 Jul 2022 17:30:53 +0300 Subject: [PATCH] =?UTF-8?q?=D0=91=D0=B0=D0=B3=20=D0=B2=20=D1=81=D0=BE?= =?UTF-8?q?=D0=B7=D0=B4=D0=B0=D0=BD=D0=B8=D0=B8=20site=5Ftemplate?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Controller/Component.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Controller/Component.php b/src/Controller/Component.php index 7077175..97315f4 100644 --- a/src/Controller/Component.php +++ b/src/Controller/Component.php @@ -120,7 +120,7 @@ class Controller_Component $tpl->set('script', Path::join(WWW_PATH, 'js')); $tpl->set('media', Path::join(TEMPLATE_WEB, $template)); if ($registry) { - $tpl->set('site_template', SITE_WWW_PATH . '/templates' . $registry->readKey(array('system', 'template'))); + $tpl->set('site_template', SITE_WWW_PATH . '/templates/' . $registry->readKey(array('system', 'template'))); } $tpl->set('base', SITE_WWW_PATH);