Changeset 164 for trunk/instant_messenger/inc/class.db_im.inc.php
- Timestamp:
- 02/01/08 10:48:43 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/instant_messenger/inc/class.db_im.inc.php
r151 r164 19 19 function db_im() 20 20 { 21 21 22 session_start(); 22 23 $this->db_name = $_SESSION['phpgw_info']['instant_messenger']['server']['db_name']; … … 27 28 $this->db_type = $_SESSION['phpgw_info']['instant_messenger']['server']['db_type']; 28 29 $this->user_id = $_SESSION['phpgw_info']['instant_messenger']['user_id']; 29 30 session_write_close(); 31 30 32 $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); 33 34 } 34 35
Note: See TracChangeset
for help on using the changeset viewer.