OSDN Git Service

mod: 積み残しを修正
authorepgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp>
Sun, 21 Mar 2010 12:54:03 +0000 (21:54 +0900)
committerepgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp>
Sun, 21 Mar 2010 12:54:03 +0000 (21:54 +0900)
cancelReservation.php
config.php.sample

index f0570a8..68dcfb3 100755 (executable)
@@ -23,6 +23,7 @@ else if(isset($_GET['reserve_id'])) {
                                // ファイルを削除
                                if( file_exists( INSTALL_PATH."/".$settings->spool."/".$rec->path ) ) {
                                        @unlink(INSTALL_PATH."/".$settings->spool."/".$rec->path);
+                                       @unlink(INSTALL_PATH."/".$settings->thumbs."/".$rec->path.".jpg");
                                }
                        }
                }
index 052522d..01ff3ec 100755 (executable)
@@ -93,6 +93,15 @@ if( file_exists( INSTALL_PATH."/settings/gr_channel.php" ) ) {
        include_once( INSTALL_PATH."/settings/gr_channel.php" );
 }
 
+//
+// settings/site_conf.phpがあればそれを優先する
+//
+if( file_exists( INSTALL_PATH."/settings/site_conf.php" ) ) {
+       unset($GR_CHANNEL_MAP);
+       unset($RECORD_MODE);
+       include_once( INSTALL_PATH."/settings/site_conf.php" );
+}
+
 
 // 全国用BSデジタルチャンネルマップ
 $BS_CHANNEL_MAP = array(