阅读(2800) (0)

配置服务 config

2017-11-27 15:30:04 更新

目前config 服务仅提供获取配置的操作

config::get('x');


//获取多维数组下的配置
config::get('x.s.o');


//获取其他文件配置 列如 cache
config::get('','cache');


//返回 config/cache.php 所有内容。