using getBaseUrl method returns the relative url, How can i make it return the full url including http:// or is there other method to achieve this?
Thanks.
using getBaseUrl method returns the relative url, How can i make it return the full url including http:// or is there other method to achieve this?
Thanks.
Yii::app()->request->hostInfo . Yii::app()->request->url
Check API doc for CHttpRequest.
Thanks.