[Rspamd] Pushover, check sender by regex

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

No files matched your search

+3
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;