I figured it out
Dreamweaver was calling for virtual because I defined the site to be relative to the root, when I changed it to require_once, it still didn't work. When I changed the code to include() and pointed it to be relative to the doc root, it finally found the script and ran ok.