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, ''); } }