Поправил регистр
This commit is contained in:
parent
d63cb2913f
commit
53b531f853
8 changed files with 9 additions and 10 deletions
|
|
@ -271,10 +271,9 @@ class Controller_Component
|
|||
if(class_exists("Controller_Site")){ //Если мы в CMS2
|
||||
$instance = Controller_Site::getInstance();
|
||||
$instance->componentsConfig[] = $editor;
|
||||
}else{
|
||||
} else {
|
||||
global $componentsConfig;
|
||||
$componentsConfig[] = $editor;
|
||||
|
||||
$componentsConfig[] = $editor;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue