function __construct()
{
if (!Core::checkIsInstalled()) {
return;
}
$this->dbLink = Core::$db->getDBLink();
$this->dbPrefix = Core::getDbTablePrefix();
// register this object as the session handler
session_set_save_handler(array(&$this, "open"), array(&$this, "close"), array(&$this, "read"), array(&$this, "write"), array(&$this, "destroy"), array(&$this, "gc"));
}