您的位置:軟件測(cè)試 > 開源軟件測(cè)試 > 開源測(cè)試管理工具 > Testlink
testlink&mantis系列:Mantis安裝配置jpgraph
作者:網(wǎng)絡(luò)轉(zhuǎn)載 發(fā)布時(shí)間:[ 2013/12/17 10:00:16 ] 推薦標(biāo)簽:

1. Mantis安裝配置jpgraph
1.1. 下載安裝

(1)下載地址:

http://jpgraph.net/download/

這里使用:jpgraph-3.5.0b1.tar.gz

(2)解壓其子目錄src至mantislibrary目錄下,并改名為:jpgraph;

(3)確認(rèn)PHP中有加載jpgraph使用的動(dòng)態(tài)庫:extension=php_gd2.dll

(4)安裝插件:管理-插件管理-安裝MantisGraph插件

(5)修改MantisGraph插件配置

要使用的圖形庫修改為:JpGraph

JpGraph 庫系統(tǒng)路徑:設(shè)置為對(duì)應(yīng)的jpgraph路徑;

例:D:Program FilesEasyPHP-12.1wwwmantislibraryjpgraph


1.2. 修改mantislibraryjpgraphjpgraph_ttf.inc.php

        elseif( $aFF === FF_SIMSUN ) {

            // Do Chinese conversion

            if( $this->g2312 == null ) {

                include_once 'jpgraph_gb2312.php' ;

                $this->g2312 = new GB2312toUTF8();

            }

            return $this->g2312->gb2utf8($aTxt);

        }

=》

//2013-01-09 luly 解決jpgraph中文亂碼問題

        /*elseif( $aFF === FF_SIMSUN ) {

            // Do Chinese conversion

            if( $this->g2312 == null ) {

                include_once 'jpgraph_gb2312.php' ;

                $this->g2312 = new GB2312toUTF8();

            }

            return $this->g2312->gb2utf8($aTxt);

        }*/

    elseif( $aFF === FF_SIMSUN ) {

            return $aTxt;

        }

上一頁12下一頁
軟件測(cè)試工具 | 聯(lián)系我們 | 投訴建議 | 誠(chéng)聘英才 | 申請(qǐng)使用列表 | 網(wǎng)站地圖
滬ICP備07036474 2003-2017 版權(quán)所有 上海澤眾軟件科技有限公司 Shanghai ZeZhong Software Co.,Ltd