We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f939dca commit 1a06998Copy full SHA for 1a06998
routes/web.php
@@ -23,7 +23,7 @@
23
// Prevents section below from being run by 'composer update'
24
if(file_exists(base_path('storage/app/ISINSTALLED'))){
25
// generates new APP KEY if no one is set
26
- if(EnvEditor::getKey('APP_KEY')==''){Artisan::call('key:generate');}
+ if(EnvEditor::getKey('APP_KEY')==''){try{Artisan::call('key:generate');} catch (exception $e) {}}
27
28
// copies template meta config if none is present
29
if(!file_exists(base_path("config/advanced-config.php"))){copy(base_path('storage/templates/advanced-config.php'), base_path('config/advanced-config.php'));}
0 commit comments