Discuz3.2云储存插件

作者: cayman 分类: 编程技术 发布时间: 2017-05-30 14:50
<ol>
 	<li>// ---------------------------  附件储存-开始  --------------------------- //</li>
 	<li>$_config['extend']['storage']['curstorage']='qiniu';                                    // 这里我使用 七牛云 演示</li>
 	<li></li>
 	<li></li>
 	<li>$_config['extend']['storage']['upyun']['bucket']='XXX';                             // 又拍云设置</li>
 	<li>$_config['extend']['storage']['upyun']['username']='XXX';</li>
 	<li>$_config['extend']['storage']['upyun']['password']='XXX';</li>
 	<li>$_config['extend']['storage']['upyun']['attachurl']='http://XXX';</li>
 	<li></li>
 	<li>$_config['extend']['storage']['aliyun']['access_id']='XXX';                             // 阿里OSS设置2</li>
 	<li>$_config['extend']['storage']['aliyun']['access_key']='XXX';                             // 3</li>
 	<li>$_config['extend']['storage']['aliyun']['access_host']=NULL;</li>
 	<li>$_config['extend']['storage']['aliyun']['bucket']='XXX';                                // 1</li>
 	<li>$_config['extend']['storage']['aliyun']['attachurl']='XXX';                              // oos地址</li>
 	<li></li>
 	<li></li>
 	<li>$_config['extend']['storage']['qiniu']['accesskey']='aC908xp8XvNfY4naGZrS5ahs0c';                             // AK</li>
 	<li>$_config['extend']['storage']['qiniu']['secretkey']='GxRueuig7ZTnngyIonV4';                                 //    SK</li>
 	<li>$_config['extend']['storage']['qiniu']['attachurl']='7sbxiz.com1.z0.glb.clouddn.com';                        //   域名</li>
 	<li>$_config['extend']['storage']['qiniu']['bucket']='gdfgh';                                   //   空间名</li>
 	<li>// ---------------------------  结束 --------------------------- //</li>
</ol>

进入dz后台–全局–上传设置–远程附件 下载链接

DZ3.2-OSS-七牛云-又拍云

 

 

 

如果觉得我的文章对您有用,请随意打赏。您的支持将鼓励我继续创作!

发表评论

电子邮件地址不会被公开。 必填项已用*标注