Re: XML files in PEAR packages
| From: | Pierre-Alain Joye | Date: | Tue, 29 Jun 2004 07:35:52 +0000 |
| Subject: | Re: XML files in PEAR packages | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-31317@lists.php.net to get a copy of this message | ||
On Tue, 29 Jun 2004 09:44:15 +0200
cox@idecnet.com (Tomas V.V.Cox) wrote:
> 3) Use a replacement tag (best option):
>
> In package.xml:
>
> <file name="myscript.php">
> <replace from="@pear_data@" to="data_dir" type="pear-config"
> />
> </file>
This one is not that nice. You force the usage of _one_ data_dir and
do not allow to share the codes for multiple installations (ie, PEAR
is host shared but the data is in user home).
I have to say that using this option is evil :)
--Pierre