Problem with inner Pear include() statements

From: Date: Thu, 06 Jan 2005 15:54:59 +0000
Subject: Problem with inner Pear include() statements
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-16732@lists.php.net to get a copy of this message
Hi Pearers, Our team started to use Pear for our software developpment some weeks ago. And we've just faced a big problem. We would like to provide into our package the basic Pear files needed for our application to work, in case of Pear was not installed on the user server. 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 ? Best regards, Hugues Peeters --- peeters@ipm.ucl.ac.be http://www.claroline.net

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