请问thinkphp中xhEditor上传图片,图片没有到指定目录是怎么回事。

浏览:739 发布日期:2015/08/18 分类:求助交流 关键字: 上传 图片 xhEditor
我的JS调用    <script src="__PUBLIC__/xheditor/xheditor-1.2.2.min.js"></script>
    <script src="__PUBLIC__/xheditor/xheditor_lang/zh-tw.js"></script>
    <script src="__PUBLIC__/xheditor/jquery/jquery.min.js"></script>
HTML代码<textarea name="content" class="xheditor {upImgUrl:'__PUBLIC__/xheditor/demos/upload.php'}" style="width:750px;height:600px;visibility:hidden;"></textarea>upload.php路径配置:$attachDir='/Public/images/upload';
//同时我注释掉了day_相关的目录代码
上传后xhEditor中得到的源码:<img src="/Public/images/upload/201508231441075607.jpg" alt="" />但是这个目录/Public/images/upload中还是没有201508231441075607.jpg这个图片文件。。。。。。
请问这是什么情况呢?还少了什么设置吗?
最佳答案
评论( 相关
后面还有条评论,点击查看>>