mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
UFT-8 autocorrection removal from standart package.
This commit is contained in:
parent
091878c088
commit
02bb08dcd2
6 changed files with 2 additions and 7946 deletions
11
tracker.php
11
tracker.php
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue