dragonfly xlqywk 可以手动在 ./config/setting_user.php 后添加 ##只允许上传 html php $config['settings']['upload']['allowExt'] = 'html,php'; ##禁止上传 html php $config['settings']['upload']['ignoreExt'] = 'html,php';