Skip to content

Commit 1a06998

Browse files
committed
Update web.php
1 parent f939dca commit 1a06998

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routes/web.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
// Prevents section below from being run by 'composer update'
2424
if(file_exists(base_path('storage/app/ISINSTALLED'))){
2525
// generates new APP KEY if no one is set
26-
if(EnvEditor::getKey('APP_KEY')==''){Artisan::call('key:generate');}
26+
if(EnvEditor::getKey('APP_KEY')==''){try{Artisan::call('key:generate');} catch (exception $e) {}}
2727

2828
// copies template meta config if none is present
2929
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

Comments
 (0)