andre 4 years ago
parent
commit
08468354ae
1 changed files with 1 additions and 1 deletions
  1. 1 1
      index.php

+ 1 - 1
index.php

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