I need to know how can I create custom configuration file that is different from main YII configuration file i-e, I want to load an array of config parameters which must be available throughout the application along with default configuration. For example, in wordpress, we have functions.php that get executed at startup and available throught the application.
return array(
...
// application-level parameters that can be accessed
// using Yii::app()->params['paramName']
'params' => require(dirname(__FILE__) . '/params.php'),
);