mantis dokuwiki 集成

本文介绍如何轻松地将MantisBT与DokuWiki集成,并实现单点登录功能。通过修改配置文件和遵循官方指南,用户可以方便地在两个系统间无缝切换。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

安装mantis 很简单  php集成环境现在网上挺多 比如easyphp 等  我下的是xampp带php 数据库等一条龙服务

安装dokuwiki也挺简单

 

如果只是在maintis里边加一个wiki链接过去的话很简单  在 config_defaults_inc.php中把 wiki 启用就可以了

 

如果在弄成单点登陆  则需要做一些设置 

 

官方设置:http://www.mantisbt.org/wiki/doku.php/mantisbt:issue:7075:integration_with_dokuwiki

 

类似官方设置:http://www.ichiayi.com/wiki/tech/mantisdokuwiki

 

两个设置不同的地方就在local.php

 

 

 

 

define( 'MANTIS_ROOT', 'D:/xampp/htdocs/mantisbt1.2.12/' );  // file path to Mantis, must terminate with /

define( 'MANTIS_URL', 'http://bugs.xbaicai.com' );     // url to Mantis, must terminate with /

 

#

# Once you have inc\auth\mantis.class.php created, modify the following configuration options to match the values below.

# With modern versions of dokuwiki, the bundled config plugin can set these values, otherwise uncomment them here.

#

 

 $conf['useacl']       = 1;                // Use Access Control Lists to restrict access?

 $conf['authtype']     = 'mantis';         // which authentication backend should be used

 $conf['defaultgroup'] = 'VIEWER';         // Default groups new Users are added to

 $conf['superuser'] = '@ADMINISTRATOR';    // allows mantis administrator to access dokuwiki admin area

 

#

# If selecting the mantis auth backend results in fatal errors from redeclaration of utf8 functions, uncomment this:

#

 require_once( MANTIS_ROOT . 'core.php' );

 

官方设置中 红色部份没有解注   不解注有一些问题

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值