Change 'basePath' to webroot path

This is path detection error in case when 'protected' folder located
outside 'www' folder before this commit