| 
					
				 | 
			
			
				@@ -5,9 +5,9 @@ class Act 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     private $db;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     private $type;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    public function __construct($name)
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    public function __construct($name, $type = 1)
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        $this->type = Dever::input('type');
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        $this->type = Dever::input('type', '', '', $type);
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         $this->type_id = Dever::input('type_id');
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         $this->db = Dever::db($name, 'place');
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         $this->app = Dever::config('setting')['type'][$this->type];
 
			 |