[Project_owners] PROJECT_PATH

Doug Warner doug at mozdev.org
Sat Dec 19 16:03:49 PST 2009

Yep, you can use something like this either in php.ini or in your web server
using something like php_admin_value.  It's fairly common to have all files
include some type of config/constants file though.


On 12/19/2009 03:14 PM, Eric Jung wrote:
> Hm, maybe auto_prepend_file in php.ini??
> Eric
> On Sat, Dec 19, 2009 at 3:11 PM, Eric Jung <eric.jung at yahoo.com
> <mailto:eric.jung at yahoo.com>> wrote:
>     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

Doug Warner    <doug at mozdev.org>        Site Developer
Mozdev.org     http://www.mozdev.org

More information about the Project_owners mailing list