正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
@@ -43,13 +43,13 @@ class Db { | @@ -43,13 +43,13 @@ class Db { | ||
43 | } | 43 | } |
44 | 44 | ||
45 | private $host=''; | 45 | private $host=''; |
46 | - private $prot=3306; | 46 | + private $prot=''; |
47 | private $user=''; | 47 | private $user=''; |
48 | private $pwd=''; | 48 | private $pwd=''; |
49 | private $database=''; | 49 | private $database=''; |
50 | 50 | ||
51 | 51 | ||
52 | - public function __construct($host='',$database='',$user='',$pwd='',$prot=3306) | 52 | + public function __construct($host='',$database='',$user='',$pwd='',$prot='') |
53 | { | 53 | { |
54 | 54 | ||
55 | $this->host = $host ? $host : DB_HOST; | 55 | $this->host = $host ? $host : DB_HOST; |
-
请 注册 或 登录 后发表评论