git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13054 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vChabot
2012-02-07 08:50:07 +00:00
parent 478c2de557
commit 9a2e5a3053
+3 -5
View File
@@ -2204,14 +2204,12 @@ FileETag INode MTime Size
*/
public static function checkPCREUTF8()
{
if (!function_exists('preg_match'))
return false;
$return = true;
$regexd = preg_replace('/[\x{0430}-\x{04FF}]/iu', '', '-АБВГД-');
if ($regexd != '--')
return false;
$return = false;
return true;
return $return;
}
}