I ran into this while trying to install several Yii extensions.
E.g. http://www.yiiframework.com/extension/yii-debug-toolbar/ or http://www.yiiframework.com/extension/yiidebugtb/
Instructions say to get this in the components
part of config/main.php
:
'log'=>array(
'class'=>'CLogRouter',
'routes'=>array(
array(
'class'=>'ext.yii-debug-toolbar.YiiDebugToolbarRoute',
'ipFilters'=>array('127.0.0.1','192.168.1.215'),
),
),
),
However, my log
> routes
is an associative array.
This is what mine looks like:
'log'=>array(
'class'=>'CLogRouter',
'routes'=>array(
'web'=>array(
'class'=>'CWebLogRoute',
'levels'=>'error, warning',
'categories'=>'system.db.*,hhinfo',
'showInFireBug'=>true
),
'file'=>array(
'class'=>'CFileLogRoute',
'levels'=>'error, warning, watch',
'categories'=>'system.*',
),
'profile'=>array(
'class' => 'CProfileLogRoute',
'report'=>'summary',
),
),
),
Does anyone know how I can install the extensions?