File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 38
38
| remain secret and should not be shared with anyone. Make it about 32
39
39
| characters of random gibberish.
40
40
|
41
+ | The "auto_key" option tells Laravel to automatically set this key value
42
+ | if one has not already been set. This is generally done on the first
43
+ | request to the Laravel splash screen.
44
+ |
41
45
*/
42
46
43
47
'key ' => '' ,
44
48
49
+ 'auto_key ' => true ,
50
+
45
51
/*
46
52
|--------------------------------------------------------------------------
47
53
| Application Character Encoding
Original file line number Diff line number Diff line change 57
57
* string for the developer. This provides the developer with
58
58
* a zero configuration install process.
59
59
*/
60
- if (Config::get ('application.key ' ) == '' )
60
+ $ auto_key = Config::get ('application.auto_key ' );
61
+
62
+ if ($ auto_key and Config::get ('application.key ' ) == '' )
61
63
{
62
64
ob_start () and with (new CLI \Tasks \Key )->generate ();
63
65
You can’t perform that action at this time.
0 commit comments