Re: [SMARTY] Using Smarty for simple things only

From: Date: Fri, 04 Apr 2003 19:30:34 +0000
Subject: Re: [SMARTY] Using Smarty for simple things only
References: 1 2  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-9104@lists.php.net to get a copy of this message
On 04 Apr 2003 13:18:54 -0600, Monte Ohrt wrote: > I never tried it... You could remove all the plugins, that would limit > things quite a bit. Built-in functions would still work. You would > probably still want things like {section} function to loop over arrays > of variables. Be sure to turn on security to disable php code. > What do you gain by disabling everything anyways? Just don't use them. If I was going to allow others to submit templates, they shouldn't be able to mess it up too much... how about $smarty->disable_autoregister_plugins = true; or something? -- Tom Sommer, Denmark www.tsn.dk - www.dreamcoder.dk

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