// fix
This commit is contained in:
+3
-5
@@ -2204,14 +2204,12 @@ FileETag INode MTime Size
|
|||||||
*/
|
*/
|
||||||
public static function checkPCREUTF8()
|
public static function checkPCREUTF8()
|
||||||
{
|
{
|
||||||
if (!function_exists('preg_match'))
|
$return = true;
|
||||||
return false;
|
|
||||||
|
|
||||||
$regexd = preg_replace('/[\x{0430}-\x{04FF}]/iu', '', '-АБВГД-');
|
$regexd = preg_replace('/[\x{0430}-\x{04FF}]/iu', '', '-АБВГД-');
|
||||||
if ($regexd != '--')
|
if ($regexd != '--')
|
||||||
return false;
|
$return = false;
|
||||||
|
|
||||||
return true;
|
return $return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user