I want to change the location of my siteController from protected/controllers to protected/backOffice/controllers.
I have tried to do the following inside of the main config file but it gives me a CExxception error and its doesnt give the much of information
Unable to resolve the request "site/error". (C:\Users\steve\Sync\Frameworks\yii\framework\web\CWebApplication.php:286)
and i have the following inside of the import
'import'=>array(
'application.models.*',
'application.components.*',
'application.backoffice.*',
),
How i can do this i have found this little helper but still cant understand where i have to put it. Link