Re: [PHP] Re: Include path quirks

2005-07-18 Thread Jochem Maas
Ethilien wrote: Actually, I think I might have found a solution, although its not a very good one. include realpath(dirname(__FILE__) . "/" . "../include/global.php"); alot of people do something _like_: define('GLOBAL_BASE_DIR', dirname(__FILE__)); somewhere near the beginning of their sta

Re: [PHP] Re: Include path quirks

2005-07-18 Thread Edward Vermillion
Ethilien wrote: Actually, I think I might have found a solution, although its not a very good one. include realpath(dirname(__FILE__) . "/" . "../include/global.php"); Ethilien wrote: I've been attempting to write an application with a bit more ordered directory structure than I normally use