[Patch] File_HtAccess
| From: | Elmar Pitschke | Date: | Thu, 27 Apr 2006 20:16:01 +0000 |
| Subject: | [Patch] File_HtAccess | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-42402@lists.php.net to get a copy of this message | ||
Hi,
first of all thanks for the package. When using the package i changed two
things to fullfill my needs and think these changes could be usefull:
- Adding the method getContent to get the content instead of saving it. I
needed this for debuggin instead of writing to the file and opening it and so
on. This change is quite simple because i just moved the code from save to
this method and the method save now calls this new method.
- In the getContent method i added testing if values are set and only then the
lines are added. I use this package not to use the security features but add
additional features (mainly to tell apache which interpreter (php4 or php5)
to use.
I added the changes a diff package. Maybe they are worth to add to the
package.
Regards
Elmar Pitschke
Attachment: [text/x-diff] File_HtAccess.diff
Attachment: [text/x-diff] File_HtAccess.diff