Show
Ignore:
Timestamp:
02/06/10 11:15:30 (10 years ago)
Author:
kovell
Message:

Installation packages updated. Fetcher does not set session ID. DB queries check if charset method exists before use. History mod is history.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dev/common/includes/class.db.mysqli.php

    r436 r491  
    2121            if (!$this->id_ = mysqli_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME, DB_PORT)) 
    2222            die("Unable to connect to mysql database."); 
    23             $this->id_->set_charset('utf8'); 
     23            if(method_exists($this->id_,'set_charset')) $this->id_->set_charset('utf8'); 
    2424        } 
    2525        else 
     
    2727            if (!$this->id_ = mysqli_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME)) 
    2828            die("Unable to connect to mysql database."); 
    29             $this->id_->set_charset('utf8'); 
     29            if(method_exists($this->id_,'set_charset')) $this->id_->set_charset('utf8'); 
    3030        } 
    3131