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 ??????