Re: ENFORCE_SAFE_MODE

From: Date: Wed, 30 Aug 2000 20:41:14 +0000
Subject: Re: ENFORCE_SAFE_MODE
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-31315@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? -Andrei "The day Microsoft makes something that doesn't suck, is probably the day Microsoft starts making vacuum cleaners." - Ernst Jan Plugge

« previous php.dev (#31315) next »