note 73768 deleted from function.include by danbrown

From: Date: Mon, 18 May 2009 01:00:08 +0000
Subject: note 73768 deleted from function.include by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-155464@lists.php.net to get a copy of this message
Note Submitter: gabriel at bumpt dot net ---- In response to baofu: The problem with calling: set_include_path( ... ) before including any file, is that if one of the included files, in turn, does a set_include_path to include yet another bunch of files, then the following include statement in your topmost file, is done in an include path context that has changed. Using: include dirname(__FILE__).'/../foo/bar' remains the best solution.

« previous php.notes (#155464) next »