Re: FW: safe mode ... sigh ...
| From: | Monte Ohrt | Date: | Tue, 26 Jun 2001 20:56:22 +0000 |
| Subject: | Re: FW: safe mode ... sigh ... | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1004@lists.php.net to get a copy of this message | ||
It sounds like safe mode excludes the use of any of the PEAR libraries
(files outside of doc root), yes? Smarty requires the use of PEAR
libraries. If your server does not allow PEAR libraries, Smarty will not
work. There are ways around this like copying PEAR.php locally, but I
don't think this is something that is a problem with Smarty. It is not
even something controllable by the Smarty class. I'm sure you will run
into this problem with any PHP scripts that utilize PEAR libraries.
Monte
h-wolters@nl.linux.org wrote:
>
> Monte
>
> > Can you make your own local copy of PEAR.php owned by yourself?
>
> Like I wrote, it's not an option, we use Smarty for an opensource application
> which can be used by any number of people. If we would distribute PEAR too we
> would still have to do something about the include path, if PHP is installed
> with safe mode turned on the would probably get other errors too.
>
> Regards,
>
> Hans
>
> --
>
> Linux : http://linux.gelrevision.nl/
> phpReview : http://phpReview.nl.linux.org/
> Boeken : http://nl.linux.org/boeken/
--
Monte Ohrt <monte@ispi.net>
http://www.ispi.net/