What is Smarty?
Why use it?
Use Cases and Work Flow
Syntax Comparison
Template Inheritance
Best Practices
Crash Course
You may use the Smarty logo according to the trademark notice.
For sponsorship, advertising, news or other inquiries, contact us at:
This tells smarty what resource type to use for config files. The default value
is file
, meaning that
$smarty->configLoad('test.conf')
and
$smarty->configLoad('file:test.conf')
are identical in
meaning. See the resource
chapter for more details.