From 949510924a8340341cf4e76edaeee77f443fa4b9 Mon Sep 17 00:00:00 2001 From: "origami11@yandex.ru" Date: Mon, 27 Feb 2023 16:47:34 +0300 Subject: [PATCH] =?UTF-8?q?fix=20=D0=9C=D0=B5=D0=BB=D0=BA=D0=B8=D0=B5=20?= =?UTF-8?q?=D0=BF=D1=80=D0=B0=D0=B2=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Controller/Component.php | 2 +- src/Form/Upload.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Controller/Component.php b/src/Controller/Component.php index 02bdd9f..a7ce660 100644 --- a/src/Controller/Component.php +++ b/src/Controller/Component.php @@ -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')); diff --git a/src/Form/Upload.php b/src/Form/Upload.php index 3da54f8..7cd38b8 100644 --- a/src/Form/Upload.php +++ b/src/Form/Upload.php @@ -3,5 +3,5 @@ namespace ctiso\Form; use ctiso\Form\Field; -class TUpload extends Field { +class Upload extends Field { }