设置存储 配置文件的目录。
默认是./configs
,意味着Smarty将查询configs/
并读取配置。
技术说明
不建议把该目录放到web根目录中。
说明
在Smarty 3.1之后,$config_dir属性不能直接访问,需使用
getConfigDir()
,
setConfigDir()
和
addConfigDir()
来进行存取。
Comments
You may use the Smarty logo according to the trademark notice.
For sponsorship, advertising, news or other inquiries, contact us at:
设置存储 配置文件的目录。
默认是./configs
,意味着Smarty将查询configs/
并读取配置。
不建议把该目录放到web根目录中。
在Smarty 3.1之后,$config_dir属性不能直接访问,需使用
getConfigDir()
,
setConfigDir()
和
addConfigDir()
来进行存取。