cvs: php4 / php.ini-dist php.ini-recommended
| From: | Yasuo Ohgaki | Date: | Thu, 17 Oct 2002 09:49:48 +0000 |
| Subject: | cvs: php4 / php.ini-dist php.ini-recommended | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-14992@lists.php.net to get a copy of this message | ||
yohgaki Thu Oct 17 05:49:48 2002 EDT
Modified files:
/php4 php.ini-dist php.ini-recommended
Log:
Add note for short_open_tag
# Assuming no objection for adding note in the manual.
Index: php4/php.ini-dist
diff -u php4/php.ini-dist:1.165 php4/php.ini-dist:1.166
--- php4/php.ini-dist:1.165 Wed Oct 9 05:03:04 2002
+++ php4/php.ini-dist Thu Oct 17 05:49:46 2002
@@ -67,7 +67,12 @@
; Enable the PHP scripting language engine under Apache.
engine = On
-; Allow the <? tag. Otherwise, only <?php and <script> tags are recognized.
+; Allow the <? tag. Otherwise, only <?php and <script> tags are recognized.
+; NOTE: Using short tags should be avoided when developing applications or
+; libraries that are meant for redistribution, or deployment on PHP
+; servers which are not under your control, because short tags may not
+; be supported on the target server. For portable, redistributable code,
+; be sure not to use short tags.
short_open_tag = On
; Allow ASP-style <% %> tags.
Index: php4/php.ini-recommended
diff -u php4/php.ini-recommended:1.113 php4/php.ini-recommended:1.114
--- php4/php.ini-recommended:1.113 Tue Oct 8 03:47:45 2002
+++ php4/php.ini-recommended Thu Oct 17 05:49:47 2002
@@ -80,7 +80,12 @@
; Enable the PHP scripting language engine under Apache.
engine = On
-; Allow the <? tag. Otherwise, only <?php and <script> tags are recognized.
+; Allow the <? tag. Otherwise, only <?php and <script> tags are recognized.
+; NOTE: Using short tags should be avoided when developing applications or
+; libraries that are meant for redistribution, or deployment on PHP
+; servers which are not under your control, because short tags may not
+; be supported on the target server. For portable, redistributable code,
+; be sure not to use short tags.
short_open_tag = On
; Allow ASP-style <% %> tags.