Strict compliance with EE 1.14.01 and CE 1.9.0.1
Merge pull request #216 from chernjie/getBaseUrl

Strict compliance with EE 1.14.01 and CE 1.9.0.1