Мелкие правки
This commit is contained in:
parent
57773265b4
commit
cdf7527c43
2 changed files with 4 additions and 2 deletions
|
|
@ -56,6 +56,7 @@ class Controller_Front extends Controller_Action
|
|||
$module = $this->loadClass($moduleFile, null, 'Module_');
|
||||
if ($module) {
|
||||
// Инициализация модуля
|
||||
$module->front = $this;
|
||||
$module->viewPath = Shortcut::getUrl('modulepath', $name);
|
||||
$module->name = $name;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue