当前位置:首页 > CMS教程 > phpcms > 列表

phpcms v9更改上传目录

发布:smiling 来源: PHP粉丝网  添加日期:2014-10-21 15:42:30 浏览: 评论:0 

phpcms\modules\attachment\attachments.php

line:29

原:$attachment = new attachment($module,$catid,$siteid);

现在:$attachment = new attachment($module,$catid,$siteid,$catid.'/');

原:$attachment = new attachment($_POST['module'],$_POST['catid'],$_POST['siteid']);

现在:$attachment = new attachment($_POST['module'],$_POST['catid'],$_POST['siteid'],$_POST['catid'].'/'); //phpfensi.com

Tags: phpcms更改目录 phpcms上传目录

分享到: