Thanks for the help. On mozdev, we don't have to include globals.h on every PHP page to get these variables defined. So is there a "trick" to getting my own globals.h included on every PHP page without using require() / require_once() in every file?
Thanks, Eric On Sat, Dec 19, 2009 at 2:00 PM, cdn <[email protected]> wrote: > try define('PROJECT_PATH', "/path/to/my/docroot"); > > see globals.h in hovercraft project for others - Doug will know where > latest code is... > > -- > > cdn > > -- > > http://www.chrisneale.co.uk > > > > On Dec 19 2009, Eric Jung wrote: > > Hi, >> >> How can I simulate PROJECT_PATH on my own host / php installation? I >> tried: >> >> PROJECT_PATH="/path/to/my/docroot" >> >> in php.ini, but this didn't work. I know I have the path correct, but I >> suspect I can't set a variable globally like that in php.ini. Any ideas? >> >> Thanks, >> Eric >> >> >
_______________________________________________ Project_owners mailing list [email protected] https://www.mozdev.org/mailman/listinfo/project_owners
