tonydspaniard / yiinitializr-basic

Yii Framework project structure boilerplate for basic requirements
26 stars 16 forks source link

Fixing vendor alias #5

Closed Borales closed 11 years ago

Borales commented 11 years ago

It seems that lib part is missing in vendor alias

Borales commented 11 years ago

By the way, if I move part of code below from the /app/config/main.php to the /app/config/common.php:

'aliases' => array(
    'bootstrap' => dirname(__FILE__) . '/../lib/vendor/2amigos/yiistrap',
    'yiiwheels' => dirname(__FILE__) . '/../lib/vendor/2amigos/yiiwheels',
),

and write it like:

'aliases' => array(
    'bootstrap' => 'vendor.2amigos.yiistrap',
    'yiiwheels' => 'vendor.2amigos.yiiwheels',
),

Then I will get working config. It means that something wrong with aliases after merging config arrays..