fix Мелкие правки

This commit is contained in:
origami11@yandex.ru 2023-02-27 16:47:34 +03:00
parent 8321ec244f
commit 949510924a
2 changed files with 2 additions and 2 deletions

View file

@ -131,7 +131,7 @@ class Component
$tpl->set('media', Path::join($this->config->get('system', 'templates.web'), $template));
if ($default) {
$tpl->set('site_template', $this->config->get('site', 'templates.web') . $default);
$tpl->set('site_template', Path::join($this->config->get('site', 'templates.web'), $default));
}
$tpl->set('base', $this->config->get('site', 'web'));