Copy link to clipboard
Copied
Is there any way to tweak Dreamweaver CS4 into knowing what exactly...
<?php include $_SERVER['DOCUMENT_ROOT'].("/includes/_footer.php") ?>
...is referring to? (In this case, nothing... /includes is located right off the root)
However, the above variable is needed for the links to work once on the server, but it also breaks things inside Dreamweaver itself.
Ironically, if I can get DW to just *ignore* $_SERVER['DOCUMENT_ROOT']. then it would work find inside DW.
Suggestions?
[Thread moved to corrrect forum and subject line edited by moderator for clarity]
Copy link to clipboard
Copied
If you create your testing server in a virtual host, Live View will display your include files correctly. However, includes that use only HTML will not be displayed in Design view.