mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 20:14:31 -04:00
Fix for tests
This commit is contained in:
parent
3f29027ec2
commit
d7ac1cd33b
@ -30,9 +30,11 @@ class StartupCheck
|
||||
*/
|
||||
public function handle(Request $request, Closure $next)
|
||||
{
|
||||
define('CONTACT_EMAIL', config('mail.from.address'));
|
||||
define('CONTACT_NAME', config('mail.from.name'));
|
||||
define('SITE_URL', config('app.url'));
|
||||
if (!defined('CONTACT_EMAIL')) {
|
||||
define('CONTACT_EMAIL', config('mail.from.address'));
|
||||
define('CONTACT_NAME', config('mail.from.name'));
|
||||
define('SITE_URL', config('app.url'));
|
||||
}
|
||||
|
||||
// Set up trusted X-Forwarded-Proto proxies
|
||||
// TRUSTED_PROXIES accepts a comma delimited list of subnets
|
||||
|
Loading…
x
Reference in New Issue
Block a user