[core] RecodingEngine now accepts none as valid option.
This commit is contained in:
@@ -87,6 +87,7 @@ $Id$
|
||||
thanks to Piotr Przybylski - crackpl
|
||||
- bug [password] Generate password only available if JS is enabled
|
||||
(fixed for Privileges and Change password)
|
||||
- [core] RecodingEngine now accepts none as valid option.
|
||||
|
||||
3.3.6.0 (not yet released)
|
||||
|
||||
|
@@ -1702,6 +1702,7 @@ CREATE DATABASE,ALTER DATABASE,DROP DATABASE</pre>
|
||||
iconv, then recode)</li>
|
||||
<li>iconv - use iconv or libiconv functions</li>
|
||||
<li>recode - use recode_string function</li>
|
||||
<li>none - disable encoding conversion</li>
|
||||
</ul>
|
||||
Default is auto.</dd>
|
||||
|
||||
|
@@ -33,14 +33,16 @@ if (isset($cfg['AllowAnywhereRecoding'])
|
||||
PMA_failRecoding();
|
||||
}
|
||||
$PMA_recoding_engine = 'iconv';
|
||||
} else {
|
||||
} elseif ($cfg['RecodingEngine'] == 'auto') {
|
||||
if (@extension_loaded('iconv')) {
|
||||
$PMA_recoding_engine = 'iconv';
|
||||
} elseif (@extension_loaded('recode')) {
|
||||
$PMA_recoding_engine = 'recode';
|
||||
} else {
|
||||
PMA_failRecoding();
|
||||
$PMA_recoding_engine = 'none';
|
||||
}
|
||||
} else {
|
||||
$PMA_recoding_engine = 'none';
|
||||
}
|
||||
} // end load recode/iconv extension
|
||||
|
||||
|
@@ -1967,6 +1967,7 @@ $cfg['AllowAnywhereRecoding'] = false;
|
||||
* recode)
|
||||
* iconv - use iconv or libiconv functions
|
||||
* recode - use recode_string function
|
||||
* none - disable encoding conversion
|
||||
*
|
||||
* @global string $cfg['RecodingEngine']
|
||||
*/
|
||||
|
@@ -40,7 +40,7 @@ $cfg_db['Servers'] = array(1 => array(
|
||||
'AllowDeny' => array(
|
||||
'order' => array('', 'deny,allow', 'allow,deny', 'explicit')),
|
||||
'only_db' => 'array'));
|
||||
$cfg_db['RecodingEngine'] = array('auto', 'iconv', 'recode');
|
||||
$cfg_db['RecodingEngine'] = array('auto', 'iconv', 'recode', 'none');
|
||||
$cfg_db['OBGzip'] = array('auto', true, false);
|
||||
$cfg_db['ShowTooltipAliasTB'] = array('nested', true, false);
|
||||
$cfg_db['DisplayDatabasesList'] = array('auto', true, false);
|
||||
|
Reference in New Issue
Block a user