DDR爱好者之家 Design By 杰米
1.应该修改editor\filemanager\upload\php\editor\filemanager\browser\default\connectors\php\config.php 中的$Config['Enabled'] = true ;
2.应该修改editor\filemanager\upload\php\editor\filemanager\upload\php\config.php 中的$Config['Enabled'] = true ;
3.应该修改editor\filemanager\upload\php下util.php里面的getrootpath函数
复制代码 代码如下:
function GetRootPath() { $sRealPath = realpath( '.' ) ; $sRealPath=str_replace('\\','/',$sRealPath); $sRealPath = substr( $sRealPath, 0, strrpos( $sRealPath, '/' ) ) ; $sRealPath = substr( $sRealPath, 0, strrpos( $sRealPath, '/' ) ) ; $sRealPath = substr( $sRealPath, 0, strrpos( $sRealPath, '/' ) ) ; $sRealPath = substr( $sRealPath, 0, strrpos( $sRealPath, '/' ) ) ; $sRealPath = substr( $sRealPath, 0, strrpos( $sRealPath, '/' ) ) ; return $sRealPath.'/'; }
还有editor\filemanager\browser\default\connectors\php下io.php里面的getrootpath函数
复制代码 代码如下:
function GetRootPath() { $sRealPath = realpath( '.' ) ; $sRealPath=str_replace('\\','/',$sRealPath); $sRealPath = substr( $sRealPath, 0, strrpos( $sRealPath, '/' ) ) ; $sRealPath = substr( $sRealPath, 0, strrpos( $sRealPath, '/' ) ) ; $sRealPath = substr( $sRealPath, 0, strrpos( $sRealPath, '/' ) ) ; $sRealPath = substr( $sRealPath, 0, strrpos( $sRealPath, '/' ) ) ; $sRealPath = substr( $sRealPath, 0, strrpos( $sRealPath, '/' ) ) ; $sRealPath = substr( $sRealPath, 0, strrpos( $sRealPath, '/' ) ) ; $sRealPath = substr( $sRealPath, 0, strrpos( $sRealPath, '/' ) ) ; return $sRealPath.'/'; }
然后修改editor\filemanager\browser\default\connectors\php里面config.php文件的$Config['UserFilesPath']变量以及editor\filemanager\upload\php下config.php里面的$Config['UserFilesPath']变量就行了。不过图片在编辑器里面不能看见,但是显示成内容的时候没有问题
2.应该修改editor\filemanager\upload\php\editor\filemanager\upload\php\config.php 中的$Config['Enabled'] = true ;
3.应该修改editor\filemanager\upload\php下util.php里面的getrootpath函数
复制代码 代码如下:
function GetRootPath() { $sRealPath = realpath( '.' ) ; $sRealPath=str_replace('\\','/',$sRealPath); $sRealPath = substr( $sRealPath, 0, strrpos( $sRealPath, '/' ) ) ; $sRealPath = substr( $sRealPath, 0, strrpos( $sRealPath, '/' ) ) ; $sRealPath = substr( $sRealPath, 0, strrpos( $sRealPath, '/' ) ) ; $sRealPath = substr( $sRealPath, 0, strrpos( $sRealPath, '/' ) ) ; $sRealPath = substr( $sRealPath, 0, strrpos( $sRealPath, '/' ) ) ; return $sRealPath.'/'; }
还有editor\filemanager\browser\default\connectors\php下io.php里面的getrootpath函数
复制代码 代码如下:
function GetRootPath() { $sRealPath = realpath( '.' ) ; $sRealPath=str_replace('\\','/',$sRealPath); $sRealPath = substr( $sRealPath, 0, strrpos( $sRealPath, '/' ) ) ; $sRealPath = substr( $sRealPath, 0, strrpos( $sRealPath, '/' ) ) ; $sRealPath = substr( $sRealPath, 0, strrpos( $sRealPath, '/' ) ) ; $sRealPath = substr( $sRealPath, 0, strrpos( $sRealPath, '/' ) ) ; $sRealPath = substr( $sRealPath, 0, strrpos( $sRealPath, '/' ) ) ; $sRealPath = substr( $sRealPath, 0, strrpos( $sRealPath, '/' ) ) ; $sRealPath = substr( $sRealPath, 0, strrpos( $sRealPath, '/' ) ) ; return $sRealPath.'/'; }
然后修改editor\filemanager\browser\default\connectors\php里面config.php文件的$Config['UserFilesPath']变量以及editor\filemanager\upload\php下config.php里面的$Config['UserFilesPath']变量就行了。不过图片在编辑器里面不能看见,但是显示成内容的时候没有问题
DDR爱好者之家 Design By 杰米
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站资源来自互联网收集,仅供用于学习和交流,请遵循相关法律法规,本站一切资源不代表本站立场,如有侵权、后门、不妥请联系本站删除!
免责声明:本站资源来自互联网收集,仅供用于学习和交流,请遵循相关法律法规,本站一切资源不代表本站立场,如有侵权、后门、不妥请联系本站删除!
DDR爱好者之家 Design By 杰米
暂无评论...
更新日志
2024年05月10日
2024年05月10日
- 【古典音乐】拉罗查《舒曼钢琴作品》1971[FLAC+CUE整轨]
- 杨幂新片火锅撤档引吐槽 网友:哪个档都不好看
- 伊芙美如画!《剑星》官方分享伊芙早期概念设计图
- 《黑袍纠察队》第四季最新预告:V世代加盟 阿祖更癫了!
- 群星《民歌试音》[WAV分轨][630M]
- 刘若英《老歌回忆录》原抓 [WAV+CUE][569M]
- 汽车音响协会指定专用试音碟《名车顶级DJ试音王》DSD 2CD[APE+CUE][493M]
- 彭健新.1979-一阙短歌(2008年环球复黑王)【宝丽金】【WAV+CUE】
- 法老.2022-退潮【派嗨拜浪】【FLAC分轨】
- 群星.2010-不了情101.4CD【丽风】【WAV+CUE】
- 欢乐钓鱼大师钰上青花怎么钓 欢乐钓鱼大师钰上青花钓鱼方法
- 欢乐钓鱼大师怎么注销账号 欢乐钓鱼大师注销账号方法介绍
- 欢乐钓鱼大师新手怎么玩 欢乐钓鱼大师新手游玩攻略
- 【古典音乐】《美妙的管弦乐作品(第一辑)》2CD.1999[FLAC+CUE]
- 【古典音乐】《美妙的管弦乐作品(第二辑)》2CD.1999[FLAC+CUE/整轨]