yii rights extension rights.php

154 Views Asked by At

I am trying to install yii rights and followed what the documentation says but it shows an error "include(Rights.php): failed to open stream: No such file or directory" it is there... the extension is under protected/modules/rights and rights.php is under components.

'import'=>array('application.modules.rights.*',
    'application.modules.rights.components',
),
'modules'=>array(
    'rights'=>array(
'install'=>true,
        ),
'components'=>array(
    'user'=>array(
        'allowAutoLogin'=>true,
        'class'=>'application.modules.rights.components.RWebUser'
    ),
'authManager'=>array(
        'class'=>'application.modules.rights.components.RDbAuthManager',
    ),
0

There are 0 best solutions below