Added automatic correct base path setting independently of real cms web-application location