Re: Problem with inner Pear include() statements

From: Date: Thu, 06 Jan 2005 16:50:07 +0000
Subject: Re: Problem with inner Pear include() statements
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-16737@lists.php.net to get a copy of this message
On Thursday 06 January 2005 07:54, Hugues Peeters wrote: > > We though to define a PEAR_LIB_PATH constant and use statement like > > include(PEAR_LIB_PATH . 'Auth/Auth.php'); > > That way, the system administrator is free to change path and point to > its own Pear directory if he prefers. > > But, sadly, it doesn't solve the problem, as some inner Pear include() > and require() statements still rely on the php.ini 'include_path' > configuration. > > Do you have any idea to solve the problem ? Set it in .htaccess or in your script via set_include_path() or ini_set(). -Alan -- Alan Richmond Aardwolf Web http://www.aardwolfweb.com

« previous php.pear.general (#16737) next »