mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Add notes about php tags in HACKING.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
This commit is contained in:
parent
fec2720a77
commit
8a54ae0a8c
1 changed files with 4 additions and 0 deletions
4
HACKING
4
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.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue