[Rspamd] Pushover, check sender by regex

This commit is contained in:
andryyy
2020-04-16 21:58:30 +02:00
parent 7fa10cc3b4
commit 47a15c21aa
9 changed files with 82 additions and 21 deletions

View File

@@ -1,4 +1,7 @@
<?php
function is_valid_regex($exp) {
return @preg_match($exp, '') !== false;
}
function isset_has_content($var) {
if (isset($var) && $var != "") {
return true;