Php open and close with curly brackets in .tpl files

chris1234

Joined: 2009-03-11
Posts: 3
Posted: Wed, 2009-03-11 23:44

I was just curious as to why the php code in the .tpl files is opened and closed by { curly brackets. Is there some reason that this is better? Also, how is this possible?

Login or register to post comments
alecmyers

Joined: 2006-08-01
Posts: 3703
Posted: Thu, 2009-03-12 00:00

.tpl files aren't php - they're Smarty files. See http://www.smarty.net/

Login or register to post comments