XPressME Integration Kit

Trac

source: trunk/extras/for_wordpressme2011/ja_EUC/wp-config.php @ 511

Last change on this file since 511 was 355, checked in by toemon, 15 years ago

今後の変更にる各言語用のwp-config.phpへの影響を最小限に抑えるため、、wp-config.phpを極力変更しない構成にする。 fixes #196

File size: 3.5 KB
Line 
1<?php
2/** It is an additional loading for XPressME. */
3require_once dirname( __FILE__ ).'/include/add_xpress_config.php' ;
4
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('Japanese');
13 if (function_exists("mb_internal_encoding")) mb_internal_encoding('EUC-JP');
14
15
16// ** MySQL settings - You can get this info from your web host ** //
17// Do not change  'DB_NAME','DB_USER','DB_PASSWORD' & 'DB_HOST'
18// because copies a set value of XOOPS.
19
20/** Do not change. The name of the database for WordPress */
21define('DB_NAME', $xoops_config->xoops_db_name);
22
23/** Do not change. MySQL database username */
24define('DB_USER', $xoops_config->xoops_db_user);
25
26/** Do not change. MySQL database password */
27define('DB_PASSWORD', $xoops_config->xoops_db_pass);
28
29/** Do not change. MySQL hostname */
30define('DB_HOST', $xoops_config->xoops_db_host);
31       
32/** Database Charset to use in creating database tables. */
33define('DB_CHARSET', 'ujis');
34
35/** The Database Collate type. Don't change this if in doubt. */
36define('DB_COLLATE', '');
37
38//define('WP_DEBUG' ,true);
39
40/**#@+
41 * Authentication Unique Keys.
42 *
43 * Change these to different unique phrases!
44 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/ WordPress.org secret-key service}
45 *
46 * @since 2.6.0
47 */
48define('AUTH_KEY', 'put your unique phrase here');
49define('SECURE_AUTH_KEY', 'put your unique phrase here');
50define('LOGGED_IN_KEY', 'put your unique phrase here');
51define('NONCE_KEY', 'put your unique phrase here');
52
53if ($xoops_config->is_wpmu){    //for WordPressMU
54        define('VHOST', 'no');
55        $base = $xoops_config->mu_path_current_site;
56        define('DOMAIN_CURRENT_SITE', $xoops_config->mu_domain_current_site );
57        define('PATH_CURRENT_SITE', $xoops_config->mu_path_current_site );
58        define('SITE_ID_CURRENT_SITE', 1);
59        define('BLOGID_CURRENT_SITE', '1' );
60
61        define('AUTH_SALT', 'put your unique phrase here');
62        define('LOGGED_IN_SALT', 'put your unique phrase here');
63        define('SECURE_AUTH_SALT', 'put your unique phrase here');
64}
65
66/**
67 * WordPress Database Table prefix.
68 *
69 * You can have multiple installations in one database if you give each a unique
70 * prefix. Only numbers, letters, and underscores please!
71 */
72// Do not change. $table_prefix is generated from XOOPS DB Priefix and the module directory name.
73$table_prefix  = $xoops_config->module_db_prefix;
74
75/**
76 * WordPress Localized Language, defaults to Japanese.
77 *
78 * Change this to localize WordPress.  A corresponding MO file for the chosen
79 * language must be installed to wp-content/languages. For example, install
80 * de.mo to wp-content/languages and set WPLANG to 'de' to enable German
81 * language support.
82 *
83 * Example:
84 * define ('WPLANG', '');               // language support to English
85 */
86define ('WPLANG', 'ja_EUC');            // language support to Japanese
87
88/* That's all, stop editing! Happy blogging. */
89
90/** WordPress absolute path to the Wordpress directory. */
91if ( !defined('ABSPATH') )
92        define('ABSPATH', dirname(__FILE__).'/');
93
94/** Processing for XPressME is done.*/
95require_once( ABSPATH .'/include/add_xpress_process.php');
96
97require_once(ABSPATH.'wp-settings.php');
98?>
Note: See TracBrowser for help on using the repository browser.