Default base_path by base_url and web root dir
fix webDir
parameter
Merge pull request #42 from ivan1986/defBasePath

Default base_path by base_url and web root dir