improve dedimania plugin
This commit is contained in:
		
				
					committed by
					
						 Steffen Schröder
						Steffen Schröder
					
				
			
			
				
	
			
			
			
						parent
						
							6a42a3d6f3
						
					
				
				
					commit
					bcd8a9de67
				
			| @@ -39,14 +39,14 @@ class Database { | ||||
| 		$port = (int) $port[0]; | ||||
| 		$user = (string) $user[0]; | ||||
| 		$pass = (string) $pass[0]; | ||||
| 		 | ||||
|  | ||||
| 		// Open database connection | ||||
| 		$this->mysqli = new \mysqli($host, $user, $pass, null, $port); | ||||
| 		if ($this->mysqli->connect_error) { | ||||
| 			trigger_error($this->mysqli->connect_error, E_USER_ERROR); | ||||
| 		} | ||||
| 		$this->mysqli->set_charset("utf8"); | ||||
| 		 | ||||
|  | ||||
| 		$this->initDatabase(); | ||||
| 		$this->optimizeTables(); | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user