Changeset 21441 for branches/version-2_12-dev/data/class/util/GC_Utils.php
- Timestamp:
- 2012/02/06 11:05:15 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/util/GC_Utils.php
r21420 r21441 48 48 49 49 $return = $header.$contents; 50 if (mb_detect_encoding($return) == CHAR_CODE) {50 if (mb_detect_encoding($return) == CHAR_CODE) { 51 51 // 文字コード変換 52 52 $return = mb_convert_encoding($return,'SJIS',CHAR_CODE); … … 69 69 70 70 $return = ""; 71 for ($i=0; $i<count($array); $i++) {72 73 for ($j=0; $j<count($array[$i]); $j++ ) {71 for ($i=0; $i<count($array); $i++) { 72 73 for ($j=0; $j<count($array[$i]); $j++ ) { 74 74 if ( $j > 0 ) $return .= ","; 75 75 $return .= "\""; 76 if ( $arrayIndex ){76 if ($arrayIndex ) { 77 77 $return .= mb_ereg_replace("<","<",mb_ereg_replace( "\"","\"\"",$array[$i][$arrayIndex[$j]] )) ."\""; 78 78 } else { … … 131 131 $traces = debug_backtrace(false); 132 132 $bklv = 1; 133 if ( $forLogInfo === true ){133 if ($forLogInfo === true ) { 134 134 $bklv = 3; 135 135 if( ($traces[3]['class'] === 'LC_Page' … … 231 231 232 232 $fp = fopen($path, "a+"); 233 if ($fp) {233 if ($fp) { 234 234 fwrite( $fp, $today." [".$_SERVER['PHP_SELF']."] ".$mess." from ". $_SERVER['REMOTE_ADDR']. "\n" ); 235 235 fclose( $fp ); … … 297 297 298 298 $password = ""; 299 for ($i = 0; $i<$pwLength; $i++ ) {299 for ($i = 0; $i<$pwLength; $i++ ) { 300 300 $password .= $pw[array_rand($pw, 1)]; 301 301 }
Note: See TracChangeset
for help on using the changeset viewer.