如何使用怎么配置这个有例子吗,上传到哪里运行? 代码: <?php //数据库配置 账号要同时对DZ XF UC具有访问权限 $conf['db']['host'] = 'localhost'; $conf['db']['port'] = 3306; $conf['db']['user'] = 'root'; $conf['db']['password'] = 'password'; //数据库 $conf['db']['dz'] = 'wedelphi'; $conf['db']['uc'] = 'ucenter'; $conf['db']['xf'] = 'test'; //数据表前缀 $conf['db']['dz_pre'] = 'pre_'; $conf['db']['xf_pre'] = 'xf_'; $conf['db']['uc_pre'] = 'uc_'; //用户以UC中的为主还是用DZ中的为主 $conf['user_from_uc'] = true; //分页设置 $conf['page']['user'] = 10000; $conf['page']['thread'] = 10000; $conf['page']['post'] = 5000; $conf['page']['process_user_auth'] = 500; $conf['page']['process_html'] = 100; $conf['page']['attachment'] = 100; //自动跳转等待 $conf['waite'] = 1; //支持Discuz的帖子分表功能,这里设置除了主表外的帖子表数量 $conf['post_table_count'] = 7;//not include forum_post //目录设定 转换附件 头像使用 $conf['dir']['dz'] = "../dz/"; $conf['dir']['uc'] = '../dz/ucenter/'; $conf['dir']['xf'] = '../xf/';
附件和头像不成功,可能是下面的设置没有设置好,不知道怎么设置,可以给个例子吗:? //目录设定 转换附件 头像使用 $conf['dir']['dz'] = "../dz/"; $conf['dir']['uc'] = '../dz/ucenter/'; $conf['dir']['xf'] = '../xf/'; 想再试一次,但是只是不知道是否可以只是转换附件和头像。
意思是不改变本身的路径,照原来的 $conf['dir']['dz'] = "../dz/"; $conf['dir']['uc'] = '../dz/ucenter/'; $conf['dir']['xf'] = '../xf/'; 不改动吗?