Using PHP global var in template

From: Date: Thu, 20 Jan 2005 16:11:55 +0000
Subject: Using PHP global var in template
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-12177@lists.php.net to get a copy of this message
What is the syntax for accessing a PHP global var inside a tpl file? I have some global values defined for my php app that I want to have access to in my templates without having to do $smarty->assign('theglobal',$GLOBALS['myglobal']); I searched all over but could not seem to find the answer. steve

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