mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 02:44:27 +02:00
mention SCRIPT_NAME below {$smarty} reserved variable because it got
lost in the docs for $smarty->global_assign
This commit is contained in:
@@ -457,6 +457,12 @@ OUTPUT: (same for both examples)
|
|||||||
{* display the variable "username" from merged get/post/cookies/server/env *}
|
{* display the variable "username" from merged get/post/cookies/server/env *}
|
||||||
{$smarty.request.username}</programlisting>
|
{$smarty.request.username}</programlisting>
|
||||||
</example>
|
</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>
|
||||||
|
|
||||||
<sect2 id="language.variables.smarty.now">
|
<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.
|
This variable contains the version of Smarty the template was compiled with.
|
||||||
</para>
|
</para>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
</sect1>
|
</sect1>
|
||||||
</chapter>
|
</chapter>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user