[1] | 1 | <?php
|
---|
[17] | 2 | require dirname( __FILE__ ).'/include/include_xoops_define.php' ;
|
---|
[31] | 3 | require_once dirname( __FILE__ ).'/include/set_cash_cookie_path.php' ;
|
---|
[1] | 4 |
|
---|
| 5 | mb_language('Japanese');
|
---|
| 6 | mb_internal_encoding('UTF-8');
|
---|
| 7 |
|
---|
| 8 | // ** MySQL settings ** //
|
---|
| 9 | define('DB_NAME', XOOPS_DB_NAME); // The name of the database
|
---|
| 10 | define('DB_USER', XOOPS_DB_USER); // Your MySQL username
|
---|
| 11 | define('DB_PASSWORD', XOOPS_DB_PASS); // ...and password
|
---|
| 12 | define('DB_HOST', XOOPS_DB_HOST); // 99% chance you won't need to change this value
|
---|
| 13 | define('DB_CHARSET', 'utf8');
|
---|
| 14 | define('DB_COLLATE', '');
|
---|
| 15 |
|
---|
| 16 | // Change each KEY to a different unique phrase. You won't have to remember the phrases later,
|
---|
| 17 | // so make them long and complicated. You can visit http://api.wordpress.org/secret-key/1.1/
|
---|
| 18 | // to get keys generated for you, or just make something up. Each key should have a different phrase.
|
---|
| 19 | define('AUTH_KEY', 'put your unique phrase here'); // Change this to a unique phrase.
|
---|
| 20 | define('SECURE_AUTH_KEY', 'put your unique phrase here'); // Change this to a unique phrase.
|
---|
| 21 | define('LOGGED_IN_KEY', 'put your unique phrase here'); // Change this to a unique phrase.
|
---|
| 22 |
|
---|
| 23 | // You can have multiple installations in one database if you give each a unique prefix
|
---|
| 24 | $xp_prefix = basename(dirname(__FILE__));
|
---|
| 25 | if ($xp_prefix == 'wordpress'){
|
---|
| 26 | $xp_prefix = 'wp';
|
---|
| 27 | }
|
---|
| 28 | $table_prefix = XOOPS_DB_PREFIX . '_' . $xp_prefix . '_'; // Only numbers, letters, and underscores please!
|
---|
| 29 |
|
---|
| 30 | // Change this to localize WordPress. A corresponding MO file for the
|
---|
| 31 | // chosen language must be installed to wp-content/languages.
|
---|
| 32 | // For example, install de.mo to wp-content/languages and set WPLANG to 'de'
|
---|
| 33 | // to enable German language support.
|
---|
| 34 | define ('WPLANG', 'ja');
|
---|
| 35 |
|
---|
| 36 | /* That's all, stop editing! Happy blogging. */
|
---|
| 37 |
|
---|
| 38 | if ( !defined('ABSPATH') )
|
---|
| 39 | define('ABSPATH', dirname(__FILE__).'/');
|
---|
| 40 |
|
---|
| 41 | require_once(ABSPATH.'wp-settings.php');
|
---|
[66] | 42 |
|
---|
| 43 | if (is_xpress_index_page_call()){
|
---|
[15] | 44 | // The return to wp-blog-header.php is stolen here
|
---|
[1] | 45 | wp();
|
---|
| 46 | ob_start();
|
---|
| 47 | require_once( ABSPATH . WPINC . '/template-loader.php' );
|
---|
| 48 | $wp_output = ob_get_contents();
|
---|
| 49 | ob_end_clean();
|
---|
| 50 | require_once( ABSPATH .'/include/xpress_render.php' );
|
---|
| 51 | xpress_render($wp_output);
|
---|
[59] | 52 | require_once( ABSPATH .'/include/xpress_breadcrumbs.php' );
|
---|
[1] | 53 | include XOOPS_ROOT_PATH . '/footer.php';
|
---|
| 54 | exit();
|
---|
| 55 | }
|
---|
| 56 | ?> |
---|