Index: trunk/wp-config.php
===================================================================
--- trunk/wp-config.php	(revision 95)
+++ trunk/wp-config.php	(revision 96)
@@ -5,54 +5,83 @@
 require_once dirname( __FILE__ ).'/include/set_cash_cookie_path.php' ;
 
+/**
+ * mb_language() sets language. If language  is omitted, it returns current language as string.
+ * language setting is used for encoding e-mail messages. 
+ * Valid languages are "Japanese", "ja","English","en" and "uni" (UTF-8). 
+ * mb_send_mail() uses this setting to encode e-mail.
+ * Language and its setting is ISO-2022-JP/Base64 for Japanese, UTF-8/Base64 for uni, ISO-8859-1/quoted printable for English. 
+ */
+ if (function_exists("mb_language")) mb_language('uni');
 
-if (function_exists("mb_language")) mb_language('Japanese');
-// The setting of mb_internal_encoding might be unnecessary. 
-// Because mb_internal_encoding setting wp-setting.php line 484
-if (function_exists("mb_internal_encoding")) mb_internal_encoding('UTF-8');
 
-// ** MySQL settings ** //
-define('DB_NAME', $xoops_config->xoops_db_name);    // The name of the database
-define('DB_USER', $xoops_config->xoops_db_user);     // Your MySQL username
-define('DB_PASSWORD', $xoops_config->xoops_db_pass); // ...and password
-define('DB_HOST', $xoops_config->xoops_db_host);    // 99% chance you won't need to change this value
+// ** MySQL settings - You can get this info from your web host ** //
+// Do not change  'DB_NAME','DB_USER','DB_PASSWORD' & 'DB_HOST'
+// because copies a set value of XOOPS. 
+
+/** Do not change. The name of the database for WordPress */
+define('DB_NAME', $xoops_config->xoops_db_name);
+
+/** Do not change. MySQL database username */
+define('DB_USER', $xoops_config->xoops_db_user);
+
+/** Do not change. MySQL database password */
+define('DB_PASSWORD', $xoops_config->xoops_db_pass);
+
+/** Do not change. MySQL hostname */
+define('DB_HOST', $xoops_config->xoops_db_host);
+	
+/** Database Charset to use in creating database tables. */
 define('DB_CHARSET', 'utf8');
+
+/** The Database Collate type. Don't change this if in doubt. */
 define('DB_COLLATE', '');
 
 //define('WP_DEBUG' ,true);
 
-// Change each KEY to a different unique phrase.  You won't have to remember the phrases later,
-// so make them long and complicated.  You can visit http://api.wordpress.org/secret-key/1.1/
-// to get keys generated for you, or just make something up.  Each key should have a different phrase.
-define('AUTH_KEY', 'put your unique phrase here'); // Change this to a unique phrase.
-define('SECURE_AUTH_KEY', 'put your unique phrase here'); // Change this to a unique phrase.
-define('LOGGED_IN_KEY', 'put your unique phrase here'); // Change this to a unique phrase.
+/**#@+
+ * Authentication Unique Keys.
+ *
+ * Change these to different unique phrases!
+ * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/ WordPress.org secret-key service}
+ *
+ * @since 2.6.0
+ */
+define('AUTH_KEY', 'put your unique phrase here');
+define('SECURE_AUTH_KEY', 'put your unique phrase here');
+define('LOGGED_IN_KEY', 'put your unique phrase here');
+define('NONCE_KEY', 'put your unique phrase here');
 
-// You can have multiple installations in one database if you give each a unique prefix
-$table_prefix  = $xoops_config->module_db_prefix;   // Only numbers, letters, and underscores please!
+/**
+ * WordPress Database Table prefix.
+ *
+ * You can have multiple installations in one database if you give each a unique
+ * prefix. Only numbers, letters, and underscores please!
+ */
+// Do not change. $table_prefix is generated from XOOPS DB Priefix and the module directory name. 
+$table_prefix  = $xoops_config->module_db_prefix;
 
-// Change this to localize WordPress.  A corresponding MO file for the
-// chosen language must be installed to wp-content/languages.
-// For example, install de.mo to wp-content/languages and set WPLANG to 'de'
-// to enable German language support.
-define ('WPLANG', 'ja');
+/**
+ * WordPress Localized Language, defaults to Japanese.
+ *
+ * Change this to localize WordPress.  A corresponding MO file for the chosen
+ * language must be installed to wp-content/languages. For example, install
+ * de.mo to wp-content/languages and set WPLANG to 'de' to enable German
+ * language support.
+ *
+ * Example:
+ * define ('WPLANG', '');		// language support to English
+ */
+define ('WPLANG', 'ja');		// language support to Japanese
 
 /* That's all, stop editing! Happy blogging. */
 
+/** WordPress absolute path to the Wordpress directory. */
 if ( !defined('ABSPATH') )
 	define('ABSPATH', dirname(__FILE__).'/');
 
-require_once dirname( __FILE__ ).'/include/request_url.php' ;
-if (!is_xpress_index_page_call()){
-//	if ( is_wp_cron_page_call()){
-//		if ( !defined("XOOPS_ROOT_PATH") ) {
-//			require_once $xoops_config->xoops_mainfile_path;
-//		}
-//	}
+require_once( ABSPATH .'/include/request_url.php');
+if (is_xpress_index_page_call()){
+	require_once $xoops_config->xoops_mainfile_path; //It is necessary to execute it for the user attestation before wp-settings.php. 
 	require_once(ABSPATH.'wp-settings.php');
-} else {
-	// If $xoops_config->xoops_mainfile_path is not executed before wp-settings.php is executed, log in cannot be done. 
-	require_once $xoops_config->xoops_mainfile_path;
-	require_once(ABSPATH.'wp-settings.php');
-	// The return to wp-blog-header.php is stolen here
 	wp();
 	ob_start();	
@@ -62,7 +91,11 @@
 	require_once( ABSPATH .'/include/xpress_render.php' );
 	xpress_render($wp_output);
-	require_once( ABSPATH .'/include/xpress_breadcrumbs.php' );
-	include $xoops_config->xoops_root_path . '/footer.php';
-	exit();
+	
+	//When there is no block cache, and an optional block is different, cache is refreshed. 
+	//When adding, and changing and deleting Post & Comment, block cache is refreshed by add_action at any time. 
+	// This Function in xpressme plugin
+	if (!is_block_cache_normal()) block_cache_refresh();
+	exit();		// The return to wp-blog-header.php is stolen here
 }
+require_once(ABSPATH.'wp-settings.php');
 ?>
