Version 4.3.6
This commit is contained in:
1 parent
fe1acf984a
commit
1a0c7fd3c2
609 files changed
+14707
-5726
No files matched your search
+12
-10
@@ -70,16 +70,18 @@ class IPSUtf8
|
||||
public static function defaultConstants()
|
||||
{
|
||||
return array(
|
||||
'IPB_FIREWALL' => 1, /* This is a workaround for an old exploit to prevent upgrade issues */
|
||||
'IPB_LOCK' => TRUE, /* Lock conversion to only IP.Board Databases */
|
||||
'BYPASS_SAFETY_LOCK' => FALSE,
|
||||
'FORCE_CONVERT' => FALSE, /* Enforce conversion */
|
||||
'FORCE_CONVERT_CHARSET' => NULL,
|
||||
'FORCE_CONVERT_METHOD' => NULL,
|
||||
'SOURCE_DB_CHARSET' => NULL, /* If set, will force the source database connection to use this charset */
|
||||
'UTF8_INSERT_ONLY' => FALSE, /* If true, and sql_charset is present and set to utf8 in conf_global.php, then the "fast" method will simply insert without converting. Useful for mixed collation databases where the utf8 tables are real utf8 */
|
||||
'FORCE_MULTI_CONVERT' => FALSE, /* Forces the converter to use CONVERT(CONVERT(CONVERT(x AS <SOURCE_DB_CHARSET>) AS BINARY) AS UTF8) which is needed in some random old data sets */
|
||||
'LOG' => FALSE, /* Log Conversion Data */
|
||||
'IPB_FIREWALL' => 1, /* This is a workaround for an old exploit to prevent upgrade issues */
|
||||
'IPB_LOCK' => TRUE, /* Lock conversion to only IP.Board Databases */
|
||||
'BYPASS_SAFETY_LOCK' => FALSE,
|
||||
'FORCE_CONVERT' => FALSE, /* Enforce conversion */
|
||||
'FORCE_CONVERT_CHARSET' => NULL,
|
||||
'FORCE_CONVERT_METHOD' => NULL,
|
||||
'SOURCE_DB_CHARSET' => NULL, /* If set, will force the source database connection to use this charset */
|
||||
'UTF8_INSERT_ONLY' => FALSE, /* If true, and sql_charset is present and set to utf8 in conf_global.php, then the "fast" method will simply insert without converting. Useful for mixed collation databases where the utf8 tables are real utf8 */
|
||||
'FORCE_MULTI_CONVERT' => FALSE, /* Forces the converter to use CONVERT(CONVERT(CONVERT(x AS <SOURCE_DB_CHARSET>) AS BINARY) AS UTF8) which is needed in some random old data sets */
|
||||
'LOG' => FALSE, /* Log Conversion Data */
|
||||
'SOURCE_CHARSET_OVERRIDE' => NULL, /* Force the converter to consider this value the value of IPB3's gb_char_set. Note that these are DOCUMENT Character Sets, not MySQL (so ISO-8859-1 for latin1, etc.) */
|
||||
'MULTI_NO_CMP' => FALSE, /* When using the multi convert option, set this to true to not check the result of the conversion against the same data collated to utf8, which can cause an error in some situations. */
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user