$settings['trusted_host_patterns'] = array( '^mixslab\.com$', '^.+\.mixslab\.com$', );
上面的mixslab本身修改为本身须要设置的内容。修改完成后保存,若是提示权限错误,则修改一下default文件夹的权限,给添加上写入权限,保存了以后记得取消这个写入权限。php