...
|
...
|
@@ -43,13 +43,13 @@ class Db { |
|
|
}
|
|
|
|
|
|
private $host='';
|
|
|
private $prot=3306;
|
|
|
private $prot='';
|
|
|
private $user='';
|
|
|
private $pwd='';
|
|
|
private $database='';
|
|
|
|
|
|
|
|
|
public function __construct($host='',$database='',$user='',$pwd='',$prot=3306)
|
|
|
public function __construct($host='',$database='',$user='',$pwd='',$prot='')
|
|
|
{
|
|
|
|
|
|
$this->host = $host ? $host : DB_HOST;
|
...
|
...
|
|