Hi there,
how can I process a subdomain name and then set it as an application-level parameter.
For example: http://username.domain.com
I would like to take the username,look for the PK in the database and then set it as an yii application-level parameter.
So in every Controller instance I can access Yii::app()->params[‘user_ID’]
Thank you for any answers.
Philipp