[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pear-dev
Subject:    Re: [PEAR-DEV] DIRECTORY_SEPARATOR and packages download default dir
From:       "Stig S. Bakken" <ssb () fast ! no>
Date:       2002-05-30 6:27:09
[Download RAW message or body]

On Wed, 2002-05-29 at 19:31, Urs Gehrig wrote:
> dear all
> 
> i would like to ask two things:
> 
> 1) DIRECTORY_SEPARATOR
> i did <?php echo DIRECTORY_SEPARATOR; ?> and got "\" in return. is this a
> system variable? i am asking because i did not find it while performing a
> c:\>env command.

It's defined by PHP, basically using #ifdef WIN32 :-)

> 2) packages default storage dir
> can i configure the default directory for storing packages downloaded via:
> 
> c:\>pear download PEAR
> 
> because in that case, the package will reamin like c:\>PEAR-0.11.tgz. but it
> would be cool to have it in c:\php\pear\packages\PEAR-0.11.tgz. if it is not
> configurable, it would be nice to have it ;)

Good idea.  Will add a download_dir parameter to PEAR_Config (defaulting
to ".").

> thanx, urs
> 
> ps: sorry for asking all this; i am trying to understand why Installer.php
> (it's a guess) does not work properly on win32; at least at my installation
> ;)

Don't be sorry, we need all the help we can get for making PEAR work
properly on Windows.

 - Stig


-- 
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic