Global variables

From: Date: Wed, 08 May 2002 21:40:29 +0000
Subject: Global variables
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-4101@lists.php.net to get a copy of this message
Hi! Is it possible to introduce to Smarty accessing to global variables by: !variable_name by example? I introduced it in my little modified version of Smarty by adding to header of each compiled script: global $variable_name1,$variable_name1; where variable_name1,variable_name2 are names of variables used in the file. Artur Zajac

« previous php.smarty.general (#4101) next »