student integral0
After following, you can keep track of his dynamic information in a timely manner
Courses in the relevant section:ThinkPHP5 dynamic configuration skills: one-by-one configuration/batch configuration/secondary configuration
动态配置: 1.逐个配置 Config::set('配置项名','值');如Config::set(‘database’,‘mysql’) 2.批量配置 $config = [ '配置项名1' => '值', '配置项名2' => '值', ]; Config::set($config);
2019-12-260个赞
Courses in the relevant section:Setting tips for ThinkPHP5 independent configuration/extended configuration: the difference and priority between customization and system default
自定义配置文件必须放在应用或模块下面的extra目录下