|
|
@@ -6,7 +6,7 @@ class db extends mysqli {
|
|
|
protected $pass = 'Blubb123-';
|
|
|
protected $db = 'ban';
|
|
|
|
|
|
- public function __construct() {
|
|
|
+ public function __construct($host = 'localhost', $user = null, $pass = null, $db = null) {
|
|
|
print_r($this);
|
|
|
@parent::__construct($host, $user, $pass, $db);
|
|
|
if($this->connect_errno){
|