PHP class to interpolate an apache virtual document root