Поправил типы
This commit is contained in:
parent
5e6d39d638
commit
f3adc4550d
6 changed files with 14 additions and 11 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue