tags:

views:

81

answers:

3

Say a php file has include_once("$CONF/blah.inc") in it. Where is this $CONF and the default location?

+1  A: 

$CONF looks like a normal PHP variable to me. Try poking around the the files you include earlier.

Ignacio Vazquez-Abrams
+2  A: 

Search it..

grep -R CONF *
hsz
+1  A: 

$CONF is a configuration variable set in an already sourced file. The search path is relative to at least one element from the include_path variable.

See http://www.php.net/manual/en/ini.core.php#ini.include-path for more details.

John Percival Hackworth