From 05a9dc1b2e1b29a9932e1cdc40f47c8a7acc7224 Mon Sep 17 00:00:00 2001 From: messju Date: Mon, 12 Jan 2004 20:12:04 +0000 Subject: [PATCH] mention SCRIPT_NAME below {$smarty} reserved variable because it got lost in the docs for $smarty->global_assign --- docs/designers.sgml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/designers.sgml b/docs/designers.sgml index 30b5dee6..b0b9588b 100644 --- a/docs/designers.sgml +++ b/docs/designers.sgml @@ -457,6 +457,12 @@ OUTPUT: (same for both examples) {* display the variable "username" from merged get/post/cookies/server/env *} {$smarty.request.username} + + Note: For historical reasons {$SCRIPT_NAME} can be accessed + directly though {$smarty.server.SCRIPT_NAME} is the + proposed way to access this value. + + @@ -529,6 +535,7 @@ OUTPUT: (same for both examples) This variable contains the version of Smarty the template was compiled with. +