Re: ENFORCE_SAFE_MODE

From: Date: Wed, 30 Aug 2000 20:55:52 +0000
Subject: Re: ENFORCE_SAFE_MODE
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-31321@lists.php.net to get a copy of this message
> On Wed, 30 Aug 2000, rasmus@lerdorf.on.ca wrote: > > This feature has been there for quite a while now. > > > > In php_fopen_wrapper() you will see: > > > > if (options & USE_PATH && PG(include_path) != NULL) { > > return php_fopen_with_path(path, mode, PG(include_path), opened_path); > > > > And if you look at php_fopen_with_path you will see that it walks through > > all the dirs listed in include_path. > > Yes, but this means that it will only respect directories listed in > PG(include_path). What if I want to have my own font_include_path? Add it to your own copy of include_path -Rasmus

« previous php.dev (#31321) next »