summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoui Chang <louipc.ist@gmail.com>2009-02-13 14:56:15 -0500
committerLoui Chang <louipc.ist@gmail.com>2009-02-13 14:56:15 -0500
commit8a54ae0a8c2b286cfb8d8c251ed4b10c4a7f178b (patch)
tree40f9c181fa7f9b5dcb0ebc4a7e402191e8a5b514
parentfec2720a774e7246847585ff7238c02b9b8c042c (diff)
downloadaurweb-8a54ae0a8c2b286cfb8d8c251ed4b10c4a7f178b.tar.xz
Add notes about php tags in HACKING.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
-rw-r--r--HACKING4
1 files changed, 4 insertions, 0 deletions
diff --git a/HACKING b/HACKING
index 53612ee..6c50ce4 100644
--- a/HACKING
+++ b/HACKING
@@ -13,6 +13,10 @@ Please don't add any mode lines. Adjust your editor to display tabs to your
preferred width. Generally code should work with the standard eight column
tabs.
+PHP
+---
+No short open tags. '<?'
+Do not end files with a close tag. '?>'
Try embedding as little HTML in the PHP as possible.
Consider creating templates for HTML.