mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-11 23:37:22 +00:00
Handle demo version of the app (#256)
This commit is contained in:
@@ -60,6 +60,12 @@ class AppServiceProvider extends ServiceProvider
|
||||
|
||||
$this->bootAuth();
|
||||
$this->bootBroadcast();
|
||||
|
||||
// In demo mode, prevent all outgoing emails and notifications
|
||||
if (config('app.env') === 'demo') {
|
||||
\Illuminate\Support\Facades\Mail::fake();
|
||||
\Illuminate\Support\Facades\Notification::fake();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user