[aur-dev] [PATCH 3/9] cleanup rss2.php

elij elij.mx at gmail.com
Sun Sep 27 19:43:34 EDT 2009


- removed excessive string catenation, replaced with variable substitution
- consolidated http/https protocol checks
- simplified host header parse (centralized)
- moved cache file to /tmp, to remove need to custom permission directory in webdir
---
 web/html/rss2.php       |   31 ++++++++++++-------------------
 web/html/xml/README.txt |    2 --
 2 files changed, 12 insertions(+), 21 deletions(-)
 delete mode 100644 web/html/xml/README.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-cleanup-rss2.php.patch.txt
Type: text/x-patch
Size: 2700 bytes
Desc: not available
URL: <http://mailman.archlinux.org/pipermail/aur-dev/attachments/20090927/2fc84073/attachment.bin>


More information about the aur-dev mailing list