Changeset 20856


Ignore:
Timestamp:
2011/04/18 13:22:34 (10 years ago)
Author:
tao
Message:

refs #1246 PHP4の為に$collationを指定ない様に修正

Location:
branches/version-2_11-dev
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_11-dev/data/class/SC_Query.php

    r20843 r20856  
    7777        } 
    7878        if (!PEAR::isError($this->conn)) { 
    79             $this->conn->setCharset(array("utf8","utf8_general_ci")); 
     79            $this->conn->setCharset("utf8"); 
    8080            $this->conn->setFetchMode(MDB2_FETCHMODE_ASSOC); 
    8181        } 
  • branches/version-2_11-dev/html/install/index.php

    r20848 r20856  
    795795        // 接続エラー 
    796796        if(!PEAR::isError($objDB)) { 
    797             if($objDB->dbsyntax == "mysql"){ 
    798                 $objDB->setCharset(array("utf-8","utf8_general_ci")); 
    799             } 
     797            $objDB->setCharset("utf8"); 
    800798            $sql_split = split(";",$sql); 
    801799            foreach($sql_split as $key => $val){ 
Note: See TracChangeset for help on using the changeset viewer.