diff Reservation.class.php @ 76:69e0dabc765a

fixed: Reservation.class.php modified: config.php.sample modified: index.php modified: install/step1.php modified: install/step3.php install/grscan.php
author Sushi-k <epgrec@park.mda.or.jp>
date Tue, 23 Feb 2010 19:58:30 +0900
parents be9e4520cfec
children 6eabffb0ccac
line wrap: on
line diff
--- a/Reservation.class.php	Tue Nov 03 16:01:24 2009 +0900
+++ b/Reservation.class.php	Tue Feb 23 19:58:30 2010 +0900
@@ -231,10 +231,10 @@
 			$filename = str_replace("%DURATION%","".$duration, $filename );
 			
 			// 文字コード変換
-			if( defined("FIESYSTEM_ENCODING") ) {
+			if( defined("FILESYSTEM_ENCODING") ) {
 				$filename = mb_convert_encoding( $filename, FILESYSTEM_ENCODING, "UTF-8" );
 			}
-			$filename .= $RECORD_MODE[$mode]['suffix'];
+			$filename .= $RECORD_MODE["$mode"]['suffix'];
 			$thumbname = $filename.".jpg";
 			
 			// サムネール