🐛 Fix: robustesse contact prod
This commit is contained in:
@@ -11,6 +11,8 @@ assertTrue(strpos($composer, 'phpmailer/phpmailer') !== false, 'missing phpmaile
|
||||
|
||||
$functions = file_get_contents(__DIR__ . '/../includes/functions.php');
|
||||
assertTrue(strpos($functions, 'PHPMailer') !== false, 'missing PHPMailer usage');
|
||||
assertTrue(strpos($functions, 'MAIL_HOST') !== false, 'missing MAIL_HOST usage');
|
||||
assertTrue(strpos($functions, 'isSMTP') !== false, 'missing SMTP usage');
|
||||
|
||||
$config = file_get_contents(__DIR__ . '/../includes/config.php');
|
||||
assertTrue(strpos($config, 'MAIL_HOST') !== false, 'missing mail constants');
|
||||
|
||||
Reference in New Issue
Block a user