Strange behaviors with include files
Hi all,
I am facing a strange behavior with some of my files:
In one of my PHP file, I asked to require_once() a file that is located in my include_path directory and it "seems" to be working but when I click on the related files listed beside my PHP file, I get the [ "include_file".php is not on the local disk. Get ] error. I say it seems to work because I can also see another related file (to "include_file".php) also listed there.
In a more involded file where more "required" files are called upon, I can even see tha same file listed twice.
How can that be?
I was under the impression that my server looks into the Include_path first and then in the local web directory if a the file wasn't found. Doesn't Dreamweaver do the same? And if so why would Dreamweaver be able to read a file it cannot find?
Hardware: MacBook Pro
OSX 10.6.8 (Snow Leopard)
Dreamweaver CS5
using MAMP 1.9.5
PHP include_path: .:/Applications/MAMP/bin/php5.3/lib/php
Site_root: /Users/publi-script-I/Sites/site_root
Any help would be more than welcome
TIA
