mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-21 20:34:57 +09:00
add message to error_log when sending emails in testing application env
This commit is contained in:
1 parent
88ec2fe427
commit
72e07ecfe3
1 file changed
+1
-1
@@ -593,7 +593,7 @@ class Service implements \Box\InjectionAwareInterface
|
||||
$mail->addTo($queue->to, $queue->to_name);
|
||||
|
||||
if (APPLICATION_ENV != 'production') {
|
||||
//if(BB_DEBUG) error_log('Skip email sending');
|
||||
error_log('Skip email sending. Application ENV: '.APPLICATION_ENV);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user