Skip to content

\$default_config_type {#variable.default.config.type}

这个变量告诉 Smarty 在加载配置文件时要使用的资源类型。默认值是 file,意味着 $smarty->configLoad('test.conf')$smarty->configLoad('file:test.conf') 在意义上是相同的。有关更多详细信息,请参阅 资源 章节。