For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > September 2005 > Re: [PEAR] Relative paths in DB_DO config.ini









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PEAR] Relative paths in DB_DO config.ini
bertrand Gugger

2005-09-28, 8:05 am

Bonjour,
Jocke Selin wrote:

>Hiya,
>
>Sorry if this has been asked before; but is it possible to use
>relative paths in the INI-file for DB_DataObject?
>
>

As any files for php in HTTP mode, relative to the requested script
location.

>The manual doesn't say much about it.
>http://pear.php.net/manual/en/packa...nfiguration.php
>
>If it is possible, can anyone shed some light on from where the
>relative path should "start".
>
>The reason for asking is that if I build an application that's for
>distribution to several machines, relative paths, would save me
>editing the config files on all machines.
>
>

Then you have to fix your scheme requested scripts / config files and
the relative path is ok.

>Thanks
>
>/Jocke
>
>
>

à+
--
bertrand "toggg" Gugger
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com