BUG????????MANTIS_?????
???????????? ???????[ 2015/3/3 10:08:46 ] ???????????ù??? ??????????
?????????
??????????Mantis???????????8??С????????????
??????config_ini.php?м????
????putenv("TZ=Asia/Shanghai");
????????????????????????php.ini??date.timezone = PRC
??????????
??????mantis????????????????upload???????????????????????config_defaults_inc.php
????gfileuploadmethod=DISK;//?????DATABASE??????????????У?????????????g_absolute_path_default_upload_folder = 'C:Program Filesmantisbt-1.1.8upload';//??upload??λ???????
?????????Unix/Linux?????????????uploads??????????"/"??????????????????????777.
????gshowattachmentindicator=ON;//???????????????????????buglist???????????g_max_file_size = 5000000; //????????С????????????????з?????php.ini?????????.
????gdisallowedfiles=′php??php3??phtml??html??class??java??exe′;//filetypeNOTallowed??????????????????????????????????????????????????????????????????????.?????????????????????????????.??????????????????.???????configinc.php????.g_signup_use_captcha = OFF;//?????ON
????JPGraph
???????????£?Mantis????α???????????????JPGraph??顣
????JPGraph 1.x ?汾?????php4??2.x ?????php5???
????mantisbt-1.1.8????????graphs????У????????????????????????????jpgraph-2.3.4?????п????????????????
????No1 ???config_inc.php
?????????
????g_use_jpgraph = OFF; #g_jpgraph_path = '.' . DIRECTORY_SEPARATOR . 'jpgraph' . DIRECTORY_SEPARATOR; # dont forget the ending slash!
??????????
????gusejpgraph=ON;g_jpgraph_path = '.' . DIRECTORY_SEPARATOR . 'graphs' . DIRECTORY_SEPARATOR; # dont forget the ending slash!
????'jpgraph'????> 'graphs' ??????????????????
????No2 ???php.ini
????????“;extension=php_gd2.dll” ?????????????????????JPGraph???????????к???????????????????
????No3 JPGraph?????????
??????$mantiscoregraph_api.php???????graph_get_font()?????????????У?'chinese_gbk' => FF_SIMSUN
??????config_inc.php?????????$g_graph_font = 'chinese_gbk';
??????$JPGraphsrcjpg-config.inc.php??????DEFINE('CHINESE_TTF_FONT'??'bkai00mp.ttf');
??????? DEFINE('CHINESE_TTF_FONT'??'simsun.ttc');
????????????????????????
???????graphsjpgraph_ttf.inc.php???????
????elseif( aFF === FF_SIMSUN ) { // Do Chinese conversion if(this->g2312 == null ) {
????include_once 'jpgraph_gb2312.php' ;
????this->g2312 = new GB2312toUTF8(); } returnthis->g2312->gb2utf8($aTxt);
????}
?????????
????elseif( aFF === FF_SIMSUN ) { // Do Chinese conversion /* if(this->g2312 == null ) {
????include_once 'jpgraph_gb2312.php' ;
????this->g2312 = new GB2312toUTF8(); } returnthis->g2312->gb2utf8(aTxt);?/returnaTxt;
????}
?????????????????Щ???????mantis???в????????????????chinese_simplified?????????????chinese_simplified_utf8???????????в???????????????????С??????????
?????????????????(δ????)
????.(??????http://micki.blogbus.com/logs/38993106.html)???????в????????????°溯???仯.
????????MySql??Mantis?????????б???????UTF8???????????Mantis???????????????????????????????????CSV??Excel??????????????????????????????????
????No1 ???CVS????????
???????Mantis??????csv_export.php??????????
????????????
????function expChangeCode(str) { return mb_convert_encoding(str??"CP936"??"UTF-8");
????}
???????????
??????echo theader???echoexpChangeCode(t_header);
??????echo csv_escape_string(tvalue);???echoexpChangeCode(csvescapestring(t_value));
??????echo tfunction(t_row->tcolumn);???echoexpChangeCode(t_function( trow?>t_column ));
????No2 ???Excel????????
???????Mantis??????core/excel_api.php??????????
??????tret.=utf8encode(t_value );???tret.=t_value;
????????utf8_encode????????????????????
??????t_value = str_replace( ">"?? ">"??t_value );???t_ret = str_replace( ">"?? ">"??t_value );
???????tret.=utf8encode(t_value );???????????????
????Excel?????????????????????????????.?????????????????????.
???????????Apache????????????Ч??
???????????????????????漰???????????????????SPASVOС??(021-61079698-8054)?????????????????????????
??????
??????????????????ù????????ù?????????????????????????????з????????????????ù????е?SVN???ù????????????汾????????cmmi???ù??????ù?????????????ù???????????(2)???ù???????????(1)SCM??????ù???????????????ù??????????????????????е????ù??????????????ù??????ù????????????汾?????????????????ù???Nginx???ù??? - ???????DCMP??????etcd?????ù?????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11????????
?????????App Bug???????????????????????Jmeter?????????QC??????APP????????????????app?????е????????jenkins+testng+ant+webdriver??????????????JMeter????HTTP???????Selenium 2.0 WebDriver ??????