I’m trying to use inheritance to reduce the duplication between config files in a frontend and backend system, as outlined here: http://www.yiiframework.com/wiki/33/ in the last comment.
I have set up the file structure and am trying to inherit the params array from /protected/config/main.php to /protected/backend/config/main.php.
I have done this by using the following code in /protected/backend/config/main.php
And then inserting the file /protected/backend/config/params.php
My question is - how can I inherit the params array given in /protected/config/main.php to /protected/backend/config/params.php? I’ve tried various bits of code but just get a load of errors every time.