In your Dreamweaver Site Settings, on the Local Info tab, there is an option to "Create Links relative to", if you set this option to "Site" Dreamweaver will use the virtual() function for attaching included files, if you set this to "Document instead, Dreamweaver will use the require_once() function.