Ignore:
Timestamp:
02/01/08 10:48:43 (16 years ago)
Author:
niltonneto
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/instant_messenger/inc/class.db_im.inc.php

    r151 r164  
    1919        function db_im() 
    2020        { 
     21                 
    2122                session_start();                 
    2223                $this->db_name = $_SESSION['phpgw_info']['instant_messenger']['server']['db_name']; 
     
    2728                $this->db_type = $_SESSION['phpgw_info']['instant_messenger']['server']['db_type']; 
    2829                $this->user_id = $_SESSION['phpgw_info']['instant_messenger']['user_id']; 
    29                  
     30                session_write_close(); 
     31 
    3032                $this->db = new db(); 
    31                 $this->db->connect($this->db_name,$this->db_host,$this->db_port,$this->db_user,$this->db_pass,$this->db_type); 
    32                 session_write_close();           
     33                $this->db->connect($this->db_name,$this->db_host,$this->db_port,$this->db_user,$this->db_pass,$this->db_type);           
    3334        } 
    3435 
Note: See TracChangeset for help on using the changeset viewer.