diff --git a/src/components/Config.php b/src/components/Config.php index 23c6324..668d0ae 100644 --- a/src/components/Config.php +++ b/src/components/Config.php @@ -46,7 +46,11 @@ public function getItem($id) { $item = &$this->_items[$id]; if (is_array($item)) { - $item = $this->createItem($id, $item); + if (count($item) === 1 && key($item) === 'alias') { + $item = $this->getItem($item['alias']); + } else { + $item = $this->createItem($id, $item); + } } return $item;