Ignore:
Timestamp:
Mar 31, 2010, 6:32:40 PM (14 years ago)
Author:
george
Message:
  • Upraveno: Aktualizace fóra.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/forum/includes/db/mysql.php

    r400 r702  
    33*
    44* @package dbal
    5 * @version $Id: mysql.php 8815 2008-09-04 13:37:01Z acydburn $
     5* @version $Id$
    66* @copyright (c) 2005 phpBB Group
    77* @license http://opensource.org/licenses/gpl-license.php GNU Public License
     
    4545                $this->sql_layer = 'mysql4';
    4646
    47                 $this->db_connect_id = ($this->persistency) ? @mysql_pconnect($this->server, $this->user, $sqlpassword, $new_link) : @mysql_connect($this->server, $this->user, $sqlpassword, $new_link);
     47                $this->db_connect_id = ($this->persistency) ? @mysql_pconnect($this->server, $this->user, $sqlpassword) : @mysql_connect($this->server, $this->user, $sqlpassword, $new_link);
    4848
    4949                if ($this->db_connect_id && $this->dbname != '')
     
    5252                        {
    5353                                // Determine what version we are using and if it natively supports UNICODE
    54                                 if (version_compare($this->sql_server_info(true), '4.1.3', '>='))
     54                                if (version_compare($this->sql_server_info(true), '4.1.0', '>='))
    5555                                {
    5656                                        @mysql_query("SET NAMES 'utf8'", $this->db_connect_id);
     
    342342                return $data;
    343343        }
    344        
     344
    345345        /**
    346346        * return sql error array
Note: See TracChangeset for help on using the changeset viewer.