When I do
print_r(Yii::app()->request->baseUrl)
I get an empty string. A post on the Yii forum says this is blank by default. How can I c
Yii::app()->baseUrl returns just a relative Path from the url to index.php for example: 127.0.0.1/index.php returns '' 127.0.0.1/yii/index.php returns '/yii'