Put APP_CIPHER back to .env
- APP_CIPHER included in .env.example - APP_CIPHER being included into .env when doing a fresh install
This commit is contained in:
parent
8590f9ad17
commit
3d7e412d24
2 changed files with 2 additions and 0 deletions
|
|
@ -2,6 +2,7 @@ APP_ENV=production
|
|||
APP_DEBUG=false
|
||||
APP_URL=http://ninja.dev
|
||||
APP_KEY=SomeRandomString
|
||||
APP_CIPHER=AES-256-CBC
|
||||
|
||||
DB_TYPE=mysql
|
||||
DB_STRICT=false
|
||||
|
|
|
|||
|
|
@ -85,6 +85,7 @@ class AppController extends BaseController
|
|||
$_ENV['APP_DEBUG'] = $app['debug'];
|
||||
$_ENV['APP_URL'] = $app['url'];
|
||||
$_ENV['APP_KEY'] = $app['key'];
|
||||
$_ENV['APP_CIPHER'] = 'AES-256-CBC';
|
||||
$_ENV['DB_TYPE'] = $dbType;
|
||||
$_ENV['DB_HOST'] = $database['type']['host'];
|
||||
$_ENV['DB_DATABASE'] = $database['type']['database'];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue