This commit is contained in:
James Cole 2016-09-24 10:55:13 +02:00
parent 9deef5ac92
commit ab6dd0a1ec
3 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,6 @@ SEND_REGISTRATION_MAIL=true
MUST_CONFIRM_ACCOUNT=false
SHOW_INCOMPLETE_TRANSLATIONS=false
SHOW_DEMO_WARNING=false
ANALYTICS_ID=
SITE_OWNER=mail@example.com

View File

@ -119,7 +119,7 @@ class RegisterController extends Controller
*/
public function showRegistrationForm(Request $request)
{
$showDemoWarning = env('SHOW_DEMO_WARNING', false);
$showDemoWarning = config('firefly.show-demo-warning', false);
// is allowed to?
$singleUserMode = FireflyConfig::get('single_user_mode', Config::get('firefly.configuration.single_user_mode'))->data;

View File

@ -188,4 +188,5 @@ return [
],
'default_currency' => 'EUR',
'default_language' => 'en_US',
'show-demo-warning' => false,
];