Copy link to clipboard
Copied
In my .htaccess file, I'm using such things as the following:
php_value include_path ".:/usr/local/php-5.2.6-1/share/pear:/nfs/c03/h05/mnt/foo/domains/bar/html"
php_value doc_root "/nfs/c03/h05/mnt/foo/domains/bar/html"
php_value open_basedir "/nfs/c03/h05/mnt/foo/"
php_value auto_prepend_file "modules/template/prepend.php"
How can I get Dreamweaver to read the .htaccess file so that it can find all the related files properly? For example, most of my site's PHP files include modules/template/header.php but because Dreamweaver isn't detecting the include_path, it can't find the header file. As a result of that, the CSS files are automatically loaded.
Thanks,
LSTC Webmaster
Copy link to clipboard
Copied
LSTCWebmaster wrote:
How can I get Dreamweaver to read the .htaccess file so that it can find all the related files properly?
You can't.
Dreamweaver CS5 will use your .htaccess file in Live View, but that's no use to you in discovering related files for editing. However, you can set up Site-Specific Code Hints in DW CS5, which provides code introspection and code hints for files that are not necessarily directly linked to the current page. Also DW CS5 will discover dynamically related files.
None of this works in versions earlier than CS5.