Mercurial > epgrec.yaz
comparison Reservation.class.php @ 141:d1681f891462
remove test code
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Sun, 21 Mar 2010 05:51:19 +0900 |
parents | 0ded1d3bd448 |
children | 4afd353b4507 |
comparison
equal
deleted
inserted
replaced
140:0ded1d3bd448 | 141:d1681f891462 |
---|---|
232 // あると面倒くさそうな文字を全部_に | 232 // あると面倒くさそうな文字を全部_に |
233 $filename = preg_replace("/[ \.\/\*:<>\?\\|()\'\"&]/u","_", trim($filename) ); | 233 $filename = preg_replace("/[ \.\/\*:<>\?\\|()\'\"&]/u","_", trim($filename) ); |
234 | 234 |
235 // 文字コード変換 | 235 // 文字コード変換 |
236 if( defined("FILESYSTEM_ENCODING") ) { | 236 if( defined("FILESYSTEM_ENCODING") ) { |
237 // $filename = mb_convert_encoding( $filename, FILESYSTEM_ENCODING, "UTF-8" ); | 237 $filename = mb_convert_encoding( $filename, FILESYSTEM_ENCODING, "UTF-8" ); |
238 $filename = mb_convert_encoding( $filename, FILESYSTEM_ENCODING, "auto" ); | |
239 } | 238 } |
240 | 239 |
241 $filename .= $RECORD_MODE["$mode"]['suffix']; | 240 $filename .= $RECORD_MODE["$mode"]['suffix']; |
242 $thumbname = $filename.".jpg"; | 241 $thumbname = $filename.".jpg"; |
243 | 242 |