<h2>

<span style="font-family:'Microsoft YaHei';">修改 xiuno BBS配置文件</span> 

</h2>
<p>

<span style="font-family:'Microsoft YaHei';"><span style="font-size:16px;line-height:27px;background-color:#FFFFFF;">编辑网站根目录下的 conf文件夹里的conf.php文件</span></span> 

</p>
<p>

<span style="font-size:16px;line-height:27px;background-color:#FFFFFF;"><br />

</span>
</p>
<h3>

<span style="font-family:'Microsoft YaHei';"><span style="font-size:16px;line-height:27px;background-color:#FFFFFF;">1. 搜索&nbsp;&nbsp;</span></span> 

</h3>
<p>

<span style="font-size:16px;line-height:27px;background-color:#FFFFFF;"></span> 

</p>

static_url
<span style="font-family:'Microsoft YaHei';">并将后面的URL修改为你绑定在七牛的二级域名,如</span><span></span> <p>
</p> <p> <span style="font-size:16px;line-height:27px;background-color:#FFFFFF;"></span> </p>
    'static_url' => 'http://img.himy2.com/',
<span style="font-family:'Microsoft YaHei';">以上修改后,模板图片及JS CSS等静态资源将缓存到七牛</span><span></span> <p>
</p> <h3> <span style="font-family:'Microsoft YaHei';"><span style="font-size:16px;line-height:27px;background-color:#FFFFFF;">2. 搜索 </span></span> </h3> <p> <span style="font-size:16px;line-height:27px;background-color:#FFFFFF;"></span> </p>
upload_url
<span style="font-family:'Microsoft YaHei';">同样将后面的URL改成你绑定在七牛的二级域名,如</span><span></span> <p>
</p> <p> <span style="font-size:16px;line-height:27px;background-color:#FFFFFF;"></span> </p>
    'upload_url' => 'http://img.himy2.com/upload/',
<span style="font-family:'Microsoft YaHei';">以上修改为帖子附件的路径,完成后会同步到七牛</span><span></span> <p>
</p> <p> <span style="font-size:16px;line-height:27px;background-color:#FFFFFF;">
</span> </p> <h3> <span style="font-family:'Microsoft YaHei';"><span style="font-size:16px;line-height:27px;background-color:#FFFFFF;">3.保存conf.php 并覆盖,清理temp目录,即可完成xiuno BBS 使用七牛CDN加速静态资源</span></span> </h3> <p> <span style="font-family:'Microsoft YaHei';"><span style="font-size:16px;line-height:27px;background-color:#FFFFFF;">
</span></span> </p> <p> <span style="font-family:'Microsoft YaHei';"><span style="font-size:16px;line-height:27px;background-color:#FFFFFF;">附:接入七牛CDN加速教程:http://www.hivps.cn/146.html</span></span> </p>
Last modification:December 13th, 2017 at 11:43 pm