1
0
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:
Holger Lösken 2016-07-18 11:13:35 +02:00
parent 8590f9ad17
commit 3d7e412d24
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -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'];