[tt]
Hello everybody,
Is there way to change the current active controller in Yii? When I tried to change the default SiteController with the one present in extensions using :
Yii::app()->controller = 'application.extensions.employee.EmployeeController';
[tt]
it throws the exception as :
Property "CWebApplication.controller" is read only.
Any suggestions? Thanks!
[/tt]