mention SCRIPT_NAME below {$smarty} reserved variable because it got

lost in the docs for $smarty->global_assign
This commit is contained in:
messju
2004-01-12 20:12:04 +00:00
parent 8b82ad310b
commit 05a9dc1b2e

View File

@@ -457,6 +457,12 @@ OUTPUT: (same for both examples)
{* 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 @@ OUTPUT: (same for both examples)
This variable contains the version of Smarty the template was compiled with.
</para>
</sect2>
</sect1>
</chapter>