In your Dreamweaver site settings, there is an option on the Local Info tab to to "Create Links relative To", set this to Document instead of site so that Dreamweaver will use the require_once() function for include files instead of the virtual() function.