소스 검색

class test

andre 4 년 전
부모
커밋
08b0156221
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      index.php

+ 1 - 1
index.php

@@ -8,7 +8,7 @@ class db extends mysqli {
 
     public function __construct() {
         print_r($this);
-        @parent::__construct($this->$host, $this->$user, $this->$pass, $this->$db);
+        @parent::__construct($host, $user, $pass, $db);
         if($this->connect_errno){
             die($this->connect_error);
         }