Yii way URL generation update

If the project is located in a subfolder, prefix may not work correctly, this method can be a little easier. Thank you for this.