Fix crash if running in / with no docroot specified
commit01002487a25aa90af8272d68136b62e3633fcc61
authorFred Emmott <fredemmott@fb.com>
Tue, 5 Jan 2016 20:52:21 +0000 (5 12:52 -0800)
committerhhvm-bot <hhvm-bot@fb.com>
Tue, 5 Jan 2016 21:00:34 +0000 (5 13:00 -0800)
treebe6edc268a61fcf5a524520dd4cf1da38941b597
parente23b82c0145fe0ecd7bf3c2830c1119993b52bde
Fix crash if running in / with no docroot specified

Summary:
fixes #6642
refs #6648
refs #6678

Reviewed By: markw65

Differential Revision: D2801393

fb-gh-sync-id: 8ee9d52f957cb40abf6a492affa07b7e03fc8a7b
hphp/runtime/server/virtual-host.cpp