当前位置: 移动技术网 > IT编程>开发语言>.net > Asp.Net FckEditor在web.config中的配置

Asp.Net FckEditor在web.config中的配置

2019年04月19日  | 移动技术网IT编程  | 我要评论

李思蓓三级,郭全宝单口相声,中国水产

1、开发网站过程中fck配置:
1
<appsettings>
2
    <add key="fckeditor:basepath" value="~/fckeditor/"/>
3
    <add key="fckeditor:userfilespath" value="/[网站名,如:oschina]/files/"/>
4
</appsettings>
2、发布网站时修改fck配置:
1
<appsettings>
2       
    <add key="fckeditor:basepath" value="~/fckeditor/"/>
3
    <add key="fckeditor:userfilespath" value="/files/" />
4
</appsettings>
3、当网站发布到iis中后,需要将上传的图片重新传一遍,否则网页上看不到图片
     网站结构为:网站名/其它文件及文件夹
                                    /files
                                    /default.x 
                                    /web.config
作者:sxq

如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复

相关文章:

验证码:
移动技术网