Configure baseurl for reading view through php template