change the way to get application root
Merge branch 'master' of https://github.com/bung87/lingphpframework