Прохождение автризации

This commit is contained in:
CORP\phedor 2018-04-23 11:18:53 +03:00
parent aaa9c2e1bf
commit c2b9254fd0
9 changed files with 16 additions and 14 deletions

View file

@ -110,8 +110,8 @@ class Action
{
$file = $name . self::TEMPLATE_EXTENSION;
$basePath = $this->config->get('site', 'path');
$webPath = $this->config->get('site', 'web');
$basePath = $this->config->get('system', 'path');
$webPath = $this->config->get('system', 'web');
$list = array(
Path::join($this->modulePath, 'templates', $this->viewPathPrefix) => Path::join($webPath, "modules", $this->name, 'templates', $this->viewPathPrefix),
@ -125,6 +125,7 @@ class Action
}
/*.Composite.*/$tpl = new $viewClass($template);
$tpl->config = $this->config;
$stylePath = Path::join($webPath, "assets", "css");
$iconsPath = Path::join($webPath, 'icons');