XPressME Integration Kit

Trac

Changeset 787 for trunk


Ignore:
Timestamp:
Jun 1, 2011, 7:49:03 PM (14 years ago)
Author:
toemon
Message:

wpConfigInfoクラスをmofInfoクラスに統合

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xpressme_integration_kit/wp-config.php

    r757 r787  
    1818 
    1919/** Do not change. The name of the database for WordPress */ 
    20 define('DB_NAME', $wpConfigInfo->get_db_name() ); 
     20define('DB_NAME', $modInfo->get_db_name() ); 
    2121 
    2222/** Do not change. MySQL database username */ 
    23 define('DB_USER', $wpConfigInfo->get_db_user() ); 
     23define('DB_USER', $modInfo->get_db_user() ); 
    2424 
    2525/** Do not change. MySQL database password */ 
    26 define('DB_PASSWORD', $wpConfigInfo->get_db_pass() ); 
     26define('DB_PASSWORD', $modInfo->get_db_pass() ); 
    2727 
    2828/** Do not change. MySQL hostname */ 
    29 define('DB_HOST', $wpConfigInfo->get_db_host() ); 
     29define('DB_HOST', $modInfo->get_db_host() ); 
    3030         
    3131/** Database Charset to use in creating database tables. */ 
     
    6161 */ 
    6262// Do not change. $table_prefix is generated from XOOPS DB Priefix and the module directory name.  
    63 $table_prefix  = $wpConfigInfo->get_db_prefix(); 
     63$table_prefix  = $modInfo->get_module_db_prefix(); 
    6464 
    6565/** 
     
    7575 * define ('WPLANG', 'ja');             // language support to Japanese 
    7676 */ 
    77 define ('WPLANG', $wpConfigInfo->get_wpLang() );                // language detect from xoops language 
     77define ('WPLANG', $modInfo->get_wpLang() );             // language detect from xoops language 
    7878 
    7979/* That's all, stop editing! Happy blogging. */ 
Note: See TracChangeset for help on using the changeset viewer.