[1] | 1 | <?php
|
---|
[355] | 2 | /** It is an additional loading for XPressME. */
|
---|
| 3 | require_once dirname( __FILE__ ).'/include/add_xpress_config.php' ;
|
---|
[1] | 4 |
|
---|
[96] | 5 | /**
|
---|
| 6 | * mb_language() sets language. If language is omitted, it returns current language as string.
|
---|
| 7 | * language setting is used for encoding e-mail messages.
|
---|
| 8 | * Valid languages are "Japanese", "ja","English","en" and "uni" (UTF-8).
|
---|
| 9 | * mb_send_mail() uses this setting to encode e-mail.
|
---|
| 10 | * Language and its setting is ISO-2022-JP/Base64 for Japanese, UTF-8/Base64 for uni, ISO-8859-1/quoted printable for English.
|
---|
| 11 | */
|
---|
| 12 | if (function_exists("mb_language")) mb_language('uni');
|
---|
[1] | 13 |
|
---|
[95] | 14 |
|
---|
[96] | 15 | // ** MySQL settings - You can get this info from your web host ** //
|
---|
| 16 | // Do not change 'DB_NAME','DB_USER','DB_PASSWORD' & 'DB_HOST'
|
---|
| 17 | // because copies a set value of XOOPS.
|
---|
| 18 |
|
---|
| 19 | /** Do not change. The name of the database for WordPress */
|
---|
[757] | 20 | define('DB_NAME', $wpConfigInfo->get_db_name() );
|
---|
[96] | 21 |
|
---|
| 22 | /** Do not change. MySQL database username */
|
---|
[757] | 23 | define('DB_USER', $wpConfigInfo->get_db_user() );
|
---|
[96] | 24 |
|
---|
| 25 | /** Do not change. MySQL database password */
|
---|
[757] | 26 | define('DB_PASSWORD', $wpConfigInfo->get_db_pass() );
|
---|
[96] | 27 |
|
---|
| 28 | /** Do not change. MySQL hostname */
|
---|
[757] | 29 | define('DB_HOST', $wpConfigInfo->get_db_host() );
|
---|
[96] | 30 |
|
---|
| 31 | /** Database Charset to use in creating database tables. */
|
---|
[1] | 32 | define('DB_CHARSET', 'utf8');
|
---|
[96] | 33 |
|
---|
| 34 | /** The Database Collate type. Don't change this if in doubt. */
|
---|
[1] | 35 | define('DB_COLLATE', '');
|
---|
| 36 |
|
---|
[95] | 37 | //define('WP_DEBUG' ,true);
|
---|
| 38 |
|
---|
[96] | 39 | /**#@+
|
---|
| 40 | * Authentication Unique Keys.
|
---|
| 41 | *
|
---|
| 42 | * Change these to different unique phrases!
|
---|
| 43 | * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/ WordPress.org secret-key service}
|
---|
| 44 | *
|
---|
| 45 | * @since 2.6.0
|
---|
| 46 | */
|
---|
| 47 | define('AUTH_KEY', 'put your unique phrase here');
|
---|
| 48 | define('SECURE_AUTH_KEY', 'put your unique phrase here');
|
---|
| 49 | define('LOGGED_IN_KEY', 'put your unique phrase here');
|
---|
| 50 | define('NONCE_KEY', 'put your unique phrase here');
|
---|
[535] | 51 | define('AUTH_SALT', 'put your unique phrase here');
|
---|
| 52 | define('SECURE_AUTH_SALT', 'put your unique phrase here');
|
---|
| 53 | define('LOGGED_IN_SALT', 'put your unique phrase here');
|
---|
| 54 | define('NONCE_SALT', 'put your unique phrase here');
|
---|
[1] | 55 |
|
---|
[96] | 56 | /**
|
---|
| 57 | * WordPress Database Table prefix.
|
---|
| 58 | *
|
---|
| 59 | * You can have multiple installations in one database if you give each a unique
|
---|
| 60 | * prefix. Only numbers, letters, and underscores please!
|
---|
| 61 | */
|
---|
| 62 | // Do not change. $table_prefix is generated from XOOPS DB Priefix and the module directory name.
|
---|
[757] | 63 | $table_prefix = $wpConfigInfo->get_db_prefix();
|
---|
[1] | 64 |
|
---|
[96] | 65 | /**
|
---|
| 66 | * WordPress Localized Language, defaults to Japanese.
|
---|
| 67 | *
|
---|
| 68 | * Change this to localize WordPress. A corresponding MO file for the chosen
|
---|
| 69 | * language must be installed to wp-content/languages. For example, install
|
---|
| 70 | * de.mo to wp-content/languages and set WPLANG to 'de' to enable German
|
---|
| 71 | * language support.
|
---|
| 72 | *
|
---|
| 73 | * Example:
|
---|
| 74 | * define ('WPLANG', ''); // language support to English
|
---|
[743] | 75 | * define ('WPLANG', 'ja'); // language support to Japanese
|
---|
[96] | 76 | */
|
---|
[757] | 77 | define ('WPLANG', $wpConfigInfo->get_wpLang() ); // language detect from xoops language
|
---|
[1] | 78 |
|
---|
| 79 | /* That's all, stop editing! Happy blogging. */
|
---|
| 80 |
|
---|
[96] | 81 | /** WordPress absolute path to the Wordpress directory. */
|
---|
[1] | 82 | if ( !defined('ABSPATH') )
|
---|
| 83 | define('ABSPATH', dirname(__FILE__).'/');
|
---|
[95] | 84 |
|
---|
[355] | 85 | /** Processing for XPressME is done.*/
|
---|
| 86 | require_once( ABSPATH .'/include/add_xpress_process.php');
|
---|
[352] | 87 |
|
---|
[96] | 88 | require_once(ABSPATH.'wp-settings.php');
|
---|
| 89 | ?> |
---|