Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- return array(
- #...
- // autoloading model and component classes
- 'import'=>array(
- 'application.models.*',
- 'application.components.*',
- 'application.modules.user.models.*',
- 'application.modules.user.components.*',
- ),
- #...
- 'modules'=>array(
- 'user',
- ),
- #...
- // application components
- 'components'=>array(
- #...
- 'user'=>array(
- // enable cookie-based authentication
- 'allowAutoLogin'=>true,
- 'loginUrl' => array('/user/login'),
- ),
- #...
- ),
- #...
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement