mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 12:12:48 +01:00
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,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…
Reference in New Issue
Block a user