diff storeProgram.php @ 159:66eabfc1b118

revoke all whitespace modifications
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Wed, 31 Mar 2010 06:42:51 +0900
parents b3ba2658a228
children
line wrap: on
line diff
--- a/storeProgram.php	Wed Mar 31 06:16:04 2010 +0900
+++ b/storeProgram.php	Wed Mar 31 06:42:51 2010 +0900
@@ -6,7 +6,7 @@
 
   $type = $argv[1];	// BS CS GR
   $file = $argv[2];	// XMLファイル
-
+  
   // SIGTERMシグナル
   function handler( $signo = 0 ) {
 	global $file;
@@ -15,7 +15,7 @@
 	}
 	exit();
   }
-
+  
   // デーモン化
   function daemon() {
 	if( pcntl_fork() != 0 )
@@ -25,24 +25,24 @@
 		exit;
 	pcntl_signal(SIGTERM, "handler");
   }
-
+  
   // デーモン化
   daemon();
   // プライオリティ低に
   pcntl_setpriority(20);
-
+  
   include_once( INSTALL_PATH . '/DBRecord.class.php' );
   include_once( INSTALL_PATH . '/Reservation.class.php' );
   include_once( INSTALL_PATH . '/Keyword.class.php' );
   include_once( INSTALL_PATH . '/Settings.class.php' );
   include_once( INSTALL_PATH . '/storeProgram.inc.php' );
-
+  
   $settings = Settings::factory();
-
+  
   if( file_exists( $file ) ) {
 	storeProgram( $type, $file );
 	@unlink( $file );
   }
   garbageClean();			//  不要プログラム削除
   doKeywordReservation();	// キーワード予約
-?>
+?>
\ No newline at end of file