diff --git a/resources/views/setup.blade.php b/resources/views/setup.blade.php index b1520c233eca..9391079e2547 100644 --- a/resources/views/setup.blade.php +++ b/resources/views/setup.blade.php @@ -34,11 +34,12 @@ @endif @if (!@fopen(base_path()."/.env", 'a'))
Warning: Permission denied to write .env config file -
sudo chown www-data:www-data /path/to/ninja/.env
+
sudo chown www-data:www-data {{ base_path('.env') }}
@endif - If you need help you can either post to our support forum with the design you\'re using - or email us at contact@invoiceninja.com. + If you need help you can either post to our support forum or email us at contact@invoiceninja.com. + + @if (! env('PRECONFIGURED_INSTALL'))

-- Commands to create a MySQL database and user
 CREATE SCHEMA `ninja` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
@@ -46,6 +47,7 @@ CREATE USER 'ninja'@'localhost' IDENTIFIED BY 'ninja';
 GRANT ALL PRIVILEGES ON `ninja`.* TO 'ninja'@'localhost';
 FLUSH PRIVILEGES;

+ @endif {!! Former::open()->rules([ @@ -61,7 +63,9 @@ FLUSH PRIVILEGES; 'terms_checkbox' => 'required' ]) !!} - @include('partials.system_settings') +
+ @include('partials.system_settings') +