From 7b2827e96f7a1aa42a997918fa865b2adaaae8dc Mon Sep 17 00:00:00 2001 From: Podlesnov Phedor Date: Thu, 3 Jun 2021 13:12:27 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D1=83=D1=82=D1=8C=20=D0=BA=20=D1=84?= =?UTF-8?q?=D0=B0=D0=B9=D0=BB=D0=B0=D0=BC=20=D0=B2=20=D0=BA=D0=BE=D0=BC?= =?UTF-8?q?=D0=BF=D0=BE=D0=BD=D0=B5=D0=BD=D1=82=D0=B0=D1=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Controller/Component.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Controller/Component.php b/src/Controller/Component.php index e4db790..12ba059 100644 --- a/src/Controller/Component.php +++ b/src/Controller/Component.php @@ -243,6 +243,8 @@ class Controller_Component if (defined('COMPONENTS_WEB')) { $component->webPath = array(COMPONENTS_WEB . '/' . $name, SITE_WWW_PATH . '/components/' . $name); $component->COMPONENTS_WEB = COMPONENTS_WEB; + } else { + $component->webPath = array('', SITE_WWW_PATH . '/components/' . $name, ''); } }