Hi to everyone
Until now I used to get the url for css,js etc by
Yii::app()->request->baseUrl
,
Today I observed that the
Yii::app()->baseUrl
returns the same value
Is threre difference and what is that ?
Thanks
Hi to everyone
Until now I used to get the url for css,js etc by
Yii::app()->request->baseUrl
,
Today I observed that the
Yii::app()->baseUrl
returns the same value
Is threre difference and what is that ?
Thanks
No difference, the shorter one is simply a shortcut to the one in CHttpRequest.
See here.
Thanks Keith