DaoKeCMS插件的配置管理使用tuanyu_config表存储键值对配置。
set_config('adslot_delay', 3000);
set_config('adslot_position', 'bottom-right');
$delay = C('adslot_delay', 3000);
$position = C('adslot_position', 'bottom-right');
配置管理页面通过后台设置页实现,POST处理用set_config写入,前台用C()读取。