diff --git a/system/autoload/Validator.php b/system/autoload/Validator.php index c435fe95..a5e02091 100644 --- a/system/autoload/Validator.php +++ b/system/autoload/Validator.php @@ -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)); } } diff --git a/system/lan/english.json b/system/lan/english.json index 403a2b44..0ceb54a5 100644 --- a/system/lan/english.json +++ b/system/lan/english.json @@ -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" } \ No newline at end of file