XPressME Integration Kit

Trac


Ignore:
Timestamp:
Jun 15, 2016, 9:52:13 AM (8 years ago)
Author:
toemon
Message:

PHP7 対応 Fix #431
thx nao-pon

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xpressme_integration_kit/include/oninstall.php

    r852 r860  
    9090 
    9191        $charset_collate = ''; 
    92         if ( version_compare(mysql_get_server_info(), '4.1.0', '>=') ) { 
     92        if ( version_compare($wpdb->get_var('SELECT VERSION()'), '4.1.0', '>=') ) { 
    9393                if ( ! empty($wpdb->charset) ) 
    9494                        $charset_collate = "DEFAULT CHARACTER SET $wpdb->charset"; 
Note: See TracChangeset for help on using the changeset viewer.