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" );