Index: /trunk/htdocs/diagnosis/index.php
===================================================================
--- /trunk/htdocs/diagnosis/index.php	(revision 1181)
+++ /trunk/htdocs/diagnosis/index.php	(revision 1182)
@@ -381,4 +381,5 @@
 checking(_T("Extension Compatibility")); // {{{
 $loadedZendExtensions = get_loaded_extensions(true);
+$extensionGood = true;
 if (array_search("Zend Optimizer", $loadedZendExtensions) !== false) {
 	result(N_("info")
@@ -386,6 +387,14 @@
 		, _T("Optimizer feature of 'Zend Optimizer' is disabled by XCache due to compatibility reason; the Loader of it is still available, encoded files are still supported")
 		);
-}
-else {
+	$extensionGood = false;
+}
+if (array_search("the ionCube PHP Loader", $loadedZendExtensions) !== false) {
+	result(N_("info")
+		, _T("the ionCube PHP Loader loaded")
+		, _T("Compatibility with this the ionCube PHp Loader' is taken care of; But in case if there's any problem, report to ionCube team and/or XCache devs")
+		);
+	$extensionGood = false;
+}
+if (!$extensionGood) {
 	result(N_("info"), _T("Looks good"));
 }
Index: /trunk/xcache-zh-gb2312.ini
===================================================================
--- /trunk/xcache-zh-gb2312.ini	(revision 1181)
+++ /trunk/xcache-zh-gb2312.ini	(revision 1182)
@@ -16,5 +16,5 @@
 ; ÕâÀïµÄ¶àÊýÑ¡Ïî½öÔÚ ini Àï¿ÉÒÔÐÞ¸Ä, ÕâÀïÁÐ³öµÄ¶¼ÊÇÄ¬ÈÏÖµ, ³ý·ÇÁíÍâËµÃ÷
 
-; select low level shm/allocator scheme implemenation
+; Ñ¡Ôñµ×²ãÄÚ´æ¹²ÏíÊµÏÖ·½°¸
 xcache.shm_scheme =        "mmap"
 ; ½ûÓÃ: xcache.size=0
@@ -23,5 +23,5 @@
 ; ½¨ÒéÉèÖÃÎª cpu Êý (cat /proc/cpuinfo |grep -c processor)
 xcache.count =                 1
-; Ö»ÊÇ¸ö²Î¿¼Öµ, Äú¿ÉÒÔ·ÅÐÄµØ´æ´¢¶àÓÚ´ËÊýÁ¿µÄÏîÄ¿(php½Å±¾/±äÁ¿)
+; Ö»ÊÇ¸ö hash ²Î¿¼Öµ, Êµ¼Ê´æ´¢ÏîÄ¿(php½Å±¾/±äÁ¿)¿É³¬¹ýÕâ¸öÊý×Ö
 xcache.slots =                8K
 ; »º´æÏîÄ¿µÄ ttl, 0=ÓÀ¾Ã
@@ -49,8 +49,10 @@
 
 
-; ÉèÖÃÎª¿Õ(½ûÓÃ) »òÕßÀàËÆ "/tmp/phpcore/"
-; ×¢Òâ¸ÃÄ¿Â¼Ó¦¸ÃÄÜ±» php Ð´ÈëÎÄ¼þ (¸ú open_basedir ÎÞ¹Ø)
+; ½öÔÚ XCache Òì³£Ê±ÓÐÓÃ. ÉèÖÃÎª¿Õ(½ûÓÃ) »òÕßÀàËÆ "/tmp/phpcore/" (ÄÜ±» php Ð´ÈëÎÄ¼þ)
 xcache.coredump_directory =   ""
-; disable cache after crash
+; ½öÓÃÓÚ Windows. ³ý·Ç XCache ¿ª·¢ÈËÔ±¸æËßÄã, ·ñÔò±£³ÖÄ¬ÈÏÖµ
+xcache.coredump_type =         0
+
+; Òì³£Ê±×Ô¶¯½ûÖ¹»º´æ
 xcache.disable_on_crash =    Off
 
@@ -58,5 +60,5 @@
 xcache.experimental =        Off
 
-; per request settings. ¿ÉÒÔ ini_set, .htaccess µÈ
+; ÒÔÏÂÊÇ Request ¼¶¿É¸ÄÉèÖÃ. ¿ÉÒÔ ini_set, .htaccess µÈ
 xcache.cacher =               On
 xcache.stat   =               On
Index: /trunk/xcache.c
===================================================================
--- /trunk/xcache.c	(revision 1181)
+++ /trunk/xcache.c	(revision 1182)
@@ -37,4 +37,5 @@
 /* {{{ globals */
 static char *xc_coredump_dir = NULL;
+static zend_bool xc_coredump_type = 0;
 static zend_bool xc_disable_on_crash = 0;
 
@@ -430,4 +431,5 @@
 	if (fileHandle != INVALID_HANDLE_VALUE) {
 		MINIDUMP_EXCEPTION_INFORMATION exceptionInformation;
+		MINIDUMP_TYPE type = xc_coredump_type ? xc_coredump_type : (MiniDumpNormal|MiniDumpWithDataSegs|MiniDumpWithIndirectlyReferencedMemory);
 		BOOL ok;
 
@@ -437,5 +439,5 @@
 
 		/* write the dump */
-		ok = dbghelp_MiniDumpWriteDump(GetCurrentProcess(), GetCurrentProcessId(), fileHandle, MiniDumpNormal|MiniDumpWithDataSegs|MiniDumpWithIndirectlyReferencedMemory, &exceptionInformation, NULL, NULL);
+		ok = dbghelp_MiniDumpWriteDump(GetCurrentProcess(), GetCurrentProcessId(), fileHandle, type, &exceptionInformation, NULL, NULL);
 		CloseHandle(fileHandle);
 		if (ok) {
@@ -719,4 +721,5 @@
 PHP_INI_BEGIN()
 	PHP_INI_ENTRY1     ("xcache.coredump_directory",      "", PHP_INI_SYSTEM, xcache_OnUpdateString,   &xc_coredump_dir)
+	PHP_INI_ENTRY1     ("xcache.coredump_type",          "0", PHP_INI_SYSTEM, xcache_OnUpdateULong,    &xc_coredump_type)
 	PHP_INI_ENTRY1_EX  ("xcache.disable_on_crash",       "0", PHP_INI_SYSTEM, xcache_OnUpdateBool,     &xc_disable_on_crash, zend_ini_boolean_displayer_cb)
 	PHP_INI_ENTRY1_EX  ("xcache.test",                   "0", PHP_INI_SYSTEM, xcache_OnUpdateBool,     &xc_test,             zend_ini_boolean_displayer_cb)
Index: /trunk/xcache.ini
===================================================================
--- /trunk/xcache.ini	(revision 1181)
+++ /trunk/xcache.ini	(revision 1182)
@@ -16,5 +16,5 @@
 ; ini only settings, all the values here is default unless explained
 
-; select low level shm/allocator scheme implemenation
+; select low level shm implemenation
 xcache.shm_scheme =        "mmap"
 ; to disable: xcache.size=0
@@ -55,7 +55,9 @@
 
 
-; leave it blank(disabled) or "/tmp/phpcore/"
-; make sure it's writable by php (open_basedir is not checked)
+; Useful when XCache crash. leave it blank(disabled) or "/tmp/phpcore/" (writable by php)
 xcache.coredump_directory =   ""
+; Windows only. leave it as 0 (default) until you're told by XCache dev
+xcache.coredump_type =         0
+
 ; disable cache after crash
 xcache.disable_on_crash =    Off
