Hi,
I have a regular main-configFile and a test-configFile.
The test-configFile looks as follows:
<?php
return CMap::mergeArray(
require(dirname(__FILE__).'/main.php'),
array(
'components'=>array(
'db'=>array(
'class'=>'CDbConnection',
'connectionString' => 'mysql:host=localhost;dbname=XXX',
'emulatePrepare' => true,
'charset' => 'utf8',
),
'params'=>array(
'cssBasePath' => 'css',
'imageBasePath' => 'images',
)
)
)
);
The Problem is the ‘params’-Array.
It always gives the following Error:
Object configuration must be an array containing a "class" element
What is wrong?
THX
Andreas