0

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

1
  • $CONF is not a variable which is available by default. It must be located somewhere in the code. Commented May 1, 2010 at 18:08

3 Answers 3

2

$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.

Sign up to request clarification or add additional context in comments.

Comments

2

Search it..

grep -R CONF *

Comments

1

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

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.