Is there a best practice for dealing with superglobals ( $_SESSION,
$_SERVER, etc) from Smarty templates? I had assumed they would be available
to the template without having to explicitly assign them, but that doesn't
seem to be the case. So, while pondering why that would be, I began to
wonder if I was missing some glaringly obvious reason to not pass them
along, implicitly or otherwise.
$smarty->assign( '_SESSION' , $_SESSION ) at the top of every page is
growing tedious... but I'm always willing to hear a better implementation..
--
Smarty General Mailing List (
http://smarty.php.net/)
To unsubscribe, visit:
http://www.php.net/unsub.php