Can read the forum of the group directly from Xnet
[platal.git] / include / globals.inc.php.in
index 74fb56c..31a5760 100644 (file)
@@ -32,6 +32,7 @@ class PlatalGlobals
     var $dbhost             = 'localhost';
     var $dbuser             = 'x4dat';
     var $dbpwd              = 'x4dat';
+    var $dbcharset          = 'utf8';
 
     /** paths */
     var $baseurl;
@@ -50,8 +51,6 @@ class PlatalGlobals
 
         $this->read_config();
         $this->setlocale();
-
-        XDB::connect($this->dbhost, $this->dbuser, $this->dbpwd, $this->dbdb, 'utf8', $this->debug);
     }
 
     function read_ini_file($filename)