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:
设置Smarty的配置文件使用的资源类型。
默认值为 file
,这意味着
$smarty->configLoad('test.conf')
和
$smarty->configLoad('file:test.conf')
是等价的。
详细参见资源。