Merge branch 'master' of github.com:glls/cops
This commit is contained in:
commit
beae2d8bec
7
base.php
7
base.php
|
@ -332,14 +332,9 @@ function addURLParameter($urlParams, $paramName, $paramValue) {
|
|||
function useNormAndUp () {
|
||||
global $config;
|
||||
return $config ['cops_normalized_search'] == "1";
|
||||
// return extension_loaded('mbstring') &&
|
||||
// extension_loaded('intl') &&
|
||||
// class_exists("Normalizer", $autoload = false) &&
|
||||
// $config ['cops_normalized_search'] == "1";
|
||||
}
|
||||
|
||||
function normalizeUtf8String( $s)
|
||||
{
|
||||
function normalizeUtf8String( $s) {
|
||||
include_once 'transliteration.php';
|
||||
return _transliteration_process($s);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue