Here is the code from the Guide in the Authorization special topic part:
return array(
'components'=>array(
'db'=>array(
'class'=>'CDbConnection',
'connectionString'=>'sqlite:path/to/file.db',
),
'authManager'=>array(
'class'=>'CDbAuthManager',
'connectionID'=>'db',
),
),
);
Where shall I place this code? is it main.php or some kind of init()?
I have to say don’t know where to put the code even after the tutorial is the biggest challenge for beginner like me.
Thank you!