diff Settings.class.php @ 80:cce6f88590fd

add: db table updater script.
author Sushi-k <epgrec@park.mda.or.jp>
date Thu, 25 Feb 2010 17:09:36 +0900
parents 1033324d7ecc
children 36ac7c416bd7 2646140c5ba7
line wrap: on
line diff
--- a/Settings.class.php	Wed Feb 24 20:27:46 2010 +0900
+++ b/Settings.class.php	Thu Feb 25 17:09:36 2010 +0900
@@ -18,7 +18,11 @@
 				$obj->autorec_mode = 0;
 				$obj->save();
 			}
-			
+			// CSの録画
+			if( $obj->exists("cs_rec_flg") == 0 ) {
+				$obj->cs_rec_flg = 0;
+				$obj->save();
+			}
 			return $obj;
 		}
 		else {
@@ -143,4 +147,4 @@
 		$this->asXML(INSTALL_PATH . self::CONFIG_XML);
 	}
 }
-?>
\ No newline at end of file
+?>