Re: [PEPr] Comment on Images::GraPHPite
| From: | Alan Knowles | Date: | Wed, 01 Sep 2004 14:19:46 +0000 |
| Subject: | Re: [PEPr] Comment on Images::GraPHPite | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-33153@lists.php.net to get a copy of this message | ||
This unfortunatly makes 'pearball' very difficult to implement
most software installations I now do, I download a prebuild pear folder and install it into a subdirectory of the application (then add it to the include_path for the app). - This ensures that I dont accidently break client applications when upgrading a global pear install (which even with our BC rules still continues to happen, albeit a little less often..).
Regards
Alan
we also defined a misc dir a while back .. dunno if that is even handled by the installer thoughNope. Finding the data stuff isn't difficult, use a replacement. <file name="named_colors.txt" role="data"/> <file name="filethatusesit.php" role="php> <replace from="@data-dir@" to="data_dir" type="pear-config"/> </file> and in filethatusesit.php, <?php // ... $namedcolorslocation = '@data-dir@/named_colors.txt'; $fp = fopen($namedcolorslocation); ?> and so on. Greg