Re: cvs: php4 /pear PEAR.php
| From: | Tomas V.V.Cox | Date: | Sat, 07 Jul 2001 21:20:43 +0000 |
| Subject: | Re: cvs: php4 /pear PEAR.php | ||
| References: | 1 2 3 | Groups: | php.pear.cvs |
| Request: | Send a blank email to pear-cvs+get-225@lists.php.net to get a copy of this message | ||
Alexander Skwar wrote:
>
> So sprach Tomas V.V.Cox am Sat, Jul 07, 2001 at 02:53:32PM +0200:
> > Hey, isn't this defined by the PHP engine itself?
>
> So, using CVS PEAR with an old version of PHP is not supported? If it
> is, the define of the constant should be conditionalized, like so:
>
> if (!defined("DIRECTORY_SEPERATOR")){
> define("DIRECTORY_SEPERATOR", <whatever>);
> }
>
> This would allow the use of this module even with older versions of PHP
>
In this case, the pear installer classes _do_ need PHP >= 4.0.6, because
of the php -C option.
Tomas V.V.Cox