cvs: smarty /docs designers.sgml
"Messju Mohr" <[email protected]>
| Newsgroups | gmane.comp.php.cvs.smarty |
|---|---|
| Message-ID | <cvsmessju1073938324@cvsserver> |
messju Mon Jan 12 15:12:04 2004 EDT
Modified files:
/smarty/docs designers.sgml
Log:
mention SCRIPT_NAME below {$smarty} reserved variable because it got
lost in the docs for $smarty->global_assign
Index: smarty/docs/designers.sgml
diff -u smarty/docs/designers.sgml:1.96 smarty/docs/designers.sgml:1.97
--- smarty/docs/designers.sgml:1.96 Mon Jan 12 14:46:55 2004
+++ smarty/docs/designers.sgml Mon Jan 12 15:12:04 2004
@@ -457,6 +457,12 @@
{* display the variable "username" from merged get/post/cookies/server/env *}
{$smarty.request.username}</programlisting>
</example>
+ <para>
+ Note: For historical reasons {$SCRIPT_NAME} can be accessed
+ directly though {$smarty.server.SCRIPT_NAME} is the
+ proposed way to access this value.
+ </para>
+
</sect2>
<sect2 id="language.variables.smarty.now">
@@ -529,6 +535,7 @@
This variable contains the version of Smarty the template was compiled with.
</para>
</sect2>
+
</sect1>
</chapter>
--
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php