Баг в создании site_template

This commit is contained in:
origami11@yandex.ru 2022-07-20 17:30:53 +03:00
parent fa4adbb75f
commit 03cd371095

View file

@ -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);