Fixing deprecated use of Director::setBaseURL()