andre 4 年之前
父節點
當前提交
08468354ae
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      index.php

+ 1 - 1
index.php

@@ -8,7 +8,7 @@ class db {
 
     static public $db_obj = null;
 
-    private function __construct(){
+    function __construct(){
         try
         {
             self::$db_obj = new mysqli($this->host, $this->user, $this->pw, $this->dbname);