Mercurial > epgrec.yaz
changeset 132:a971ef7888b4
fix: ΄ͺ°γ€€€ς½€ΐ΅
author | epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp> |
---|---|
date | Fri, 19 Mar 2010 23:33:03 +0900 |
parents | 2646140c5ba7 |
children | 44811bc29179 |
files | Reservation.class.php |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/Reservation.class.php Thu Mar 18 19:03:37 2010 +0900 +++ b/Reservation.class.php Fri Mar 19 23:33:03 2010 +0900 @@ -200,6 +200,8 @@ $day_of_week = array( "ζ₯","ζ","η«","ζ°΄","ζ¨","ι","ε" ); $filename = $settings->filename_format; + // γγγ¨ι’εγγγγγͺζεγε ¨ι¨_γ« + $fn_title = mb_ereg_replace("[ \./\*:<>\?\\|()\'\"&]","_", trim($title) ); // %TITLE% $filename = mb_str_replace("%TITLE%", $fn_title, $filename); // %ST% ιε§ζ₯ζ @@ -229,9 +231,6 @@ // %DURATION% ι²η»ζιοΌη§οΌ $filename = mb_str_replace("%DURATION%","".$duration, $filename ); - // γγγ¨ι’εγγγγγͺζεγε ¨ι¨_γ« - $fn_title = mb_ereg_replace("[ \./\*:<>\?\\|()\'\"&]","_", trim($title) ); - // ζεγ³γΌγε€ζ if( defined("FILESYSTEM_ENCODING") ) { $filename = mb_convert_encoding( $filename, FILESYSTEM_ENCODING, "UTF-8" );