How, in Yii, to get the current page\'s URL. For example:
http://www.yoursite.com/your_yii_application/?lg=pl&id=15
but excluding the
Yii::app()->createAbsoluteUrl(Yii::app()->request->url)
This will output something in the following format:
http://www.yoursite.com/your_yii_application/