Поправил типы

This commit is contained in:
Фёдор Подлеснов 2018-02-08 17:14:48 +03:00
parent 5e6d39d638
commit f3adc4550d
6 changed files with 14 additions and 11 deletions

View file

@ -50,6 +50,7 @@ class Controller_Component
public $templatePath;
public $component_id;
public $component_title;
public $COMPONENTS_WEB;
public /*.Settings.*/$registry;
@ -207,6 +208,8 @@ class Controller_Component
$path = Path::join (BASE_PATH, 'components', $name, $name . '.php');
$className = 'Component_' . $name;
/*.Controller_Component.*/$component = null;
if (file_exists($path)) {
require_once ($path);