XPressME Integration Kit

Trac


Ignore:
Timestamp:
May 23, 2011, 3:03:57 PM (13 years ago)
Author:
toemon
Message:

ConfigFromXoopsクラスを廃止し、modInfoクラスを使用するように変更
WP2.2以下で使用するテンプレートold_templateの廃止

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Ver3.0/xpressme_integration_kit/wp-config.php

    r743 r757  
    1818 
    1919/** Do not change. The name of the database for WordPress */ 
    20 define('DB_NAME', $xoops_config->xoops_db_name); 
     20define('DB_NAME', $wpConfigInfo->get_db_name() ); 
    2121 
    2222/** Do not change. MySQL database username */ 
    23 define('DB_USER', $xoops_config->xoops_db_user); 
     23define('DB_USER', $wpConfigInfo->get_db_user() ); 
    2424 
    2525/** Do not change. MySQL database password */ 
    26 define('DB_PASSWORD', $xoops_config->xoops_db_pass); 
     26define('DB_PASSWORD', $wpConfigInfo->get_db_pass() ); 
    2727 
    2828/** Do not change. MySQL hostname */ 
    29 define('DB_HOST', $xoops_config->xoops_db_host); 
     29define('DB_HOST', $wpConfigInfo->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  = $xoops_config->module_db_prefix; 
     63$table_prefix  = $wpConfigInfo->get_db_prefix(); 
    6464 
    6565/** 
     
    7575 * define ('WPLANG', 'ja');             // language support to Japanese 
    7676 */ 
    77 define ('WPLANG', $xoops_config->wp_lang);              // language detect from xoops language 
     77define ('WPLANG', $wpConfigInfo->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.