mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2024-11-10 17:26:48 +08:00
strtolower keywords
This commit is contained in:
parent
86bd2a8dd4
commit
02024fdcc7
2 changed files with 3 additions and 2 deletions
|
@ -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…
Reference in a new issue