Прохождение автризации
This commit is contained in:
parent
aaa9c2e1bf
commit
c2b9254fd0
9 changed files with 16 additions and 14 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue