一、创建配置文件

在application/extra目录下创建white.php

TP5框架 之读取扩展配置文件

 

 二、读取配置文件

 $white = Config::get('white');

 

相关文章: