XPressME Integration Kit

Trac

source: branches/XPressMU/extras/xpress_i18n/persian/xpressme_modules_root/wp-config.php @ 853

Last change on this file since 853 was 388, checked in by toemon, 15 years ago

XOOPSのモジュールオプションとして、手動でlibxml2バグ回避をONさせるオプションを追加 fixed #215

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