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