Fixed warnings when open_basedir directive set
Merge pull request #185 from SammyK/fix-for-open_basedir-directive

Fixed warnings when open_basedir directive set