strtolower keywords
This commit is contained in:
parent
86bd2a8dd4
commit
02024fdcc7
@ -325,6 +325,6 @@ class Validator
|
||||
public static function containsKeyword($string, $keywords = ['mikrotik', 'hotspot', 'pppoe', 'radius', 'dummy'])
|
||||
{
|
||||
$regex = '/' . implode('|', $keywords) . '/i';
|
||||
return preg_match($regex, $string);
|
||||
return preg_match($regex, strtolower($string));
|
||||
}
|
||||
}
|
||||
|
@ -722,5 +722,6 @@
|
||||
"in_here_too_": "in here too.",
|
||||
"Empty_this_to_use_internal_mail___PHP": "Empty this to use internal mail() PHP",
|
||||
"Mail_Reply_To": "Mail Reply To",
|
||||
"Customer_will_reply_email_to_this_address__empty_if_you_want_to_use_From_Address": "Customer will reply email to this address, empty if you want to use From Address"
|
||||
"Customer_will_reply_email_to_this_address__empty_if_you_want_to_use_From_Address": "Customer will reply email to this address, empty if you want to use From Address",
|
||||
"You_will_get_Payment_and_Error_notification": "You will get Payment and Error notification"
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user