UFT-8 autocorrection removal from standart package.

This commit is contained in:
Yuriy Pikhtarev 2017-05-21 15:33:29 +03:00
commit 02bb08dcd2
No known key found for this signature in database
GPG key ID: 3A9B5A757B48ECC6
6 changed files with 2 additions and 7946 deletions

View file

@ -27,9 +27,6 @@ define('BB_SCRIPT', 'tracker');
define('BB_ROOT', './');
require __DIR__ . '/common.php';
require CLASS_DIR . '/utf8.php';
require CLASS_DIR . '/correct.php';
require CLASS_DIR . '/reflection.php';
require INC_DIR . '/functions_group.php';
// Page config
@ -437,13 +434,7 @@ if (!$set_default) {
if ($tm =& $_REQUEST[$title_match_key] and is_string($tm)) {
if ($tmp = mb_substr(trim($tm), 0, $title_match_max_len)) {
if ($bb_cfg['autocorrect_wkl']) {
// Autocorrect wrong keyboard layout
$tlc = new Text_LangCorrect();
$title_match_val = $tlc->parse($tlc->parse($tmp, 1), 2);
} else {
$title_match_val = $tmp;
}
$title_match_val = $tmp;
$title_match_sql = clean_text_match($title_match_val, true, false);
}
}