mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-05 16:24:37 -04:00
Remove debug from the setup page
This commit is contained in:
parent
603f7baa58
commit
b266def75b
@ -100,7 +100,6 @@ class SetupController extends Controller
|
|||||||
$env_values = [
|
$env_values = [
|
||||||
'APP_URL' => $request->input('url'),
|
'APP_URL' => $request->input('url'),
|
||||||
'REQUIRE_HTTPS' => $request->input('https') ? 'true' : 'false',
|
'REQUIRE_HTTPS' => $request->input('https') ? 'true' : 'false',
|
||||||
'APP_DEBUG' => $request->input('debug') ? 'true' : 'false',
|
|
||||||
|
|
||||||
'DB_HOST1' => $request->input('db_host'),
|
'DB_HOST1' => $request->input('db_host'),
|
||||||
'DB_PORT1' => $request->input('db_port'),
|
'DB_PORT1' => $request->input('db_port'),
|
||||||
|
@ -32,16 +32,6 @@
|
|||||||
</dd>
|
</dd>
|
||||||
</div>
|
</div>
|
||||||
<div class="bg-gray-50 px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6 sm:flex sm:items-center">
|
<div class="bg-gray-50 px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6 sm:flex sm:items-center">
|
||||||
<dt class="text-sm leading-5 font-medium text-gray-500">
|
|
||||||
{{ ctrans('texts.debug') }}
|
|
||||||
</dt>
|
|
||||||
<dd class="mt-1 text-sm leading-5 text-gray-900 sm:mt-0 sm:col-span-2">
|
|
||||||
<input type="checkbox" class="form-checkbox mr-1" name="debug" {{ old('debug') ? 'checked': '' }}>
|
|
||||||
<span>{{ ctrans('texts.enable') }}</span>
|
|
||||||
<span class="text-gray-600 text-xs ml-2">({{ ctrans('texts.enable_only_for_development') }})</span>
|
|
||||||
</dd>
|
|
||||||
</div>
|
|
||||||
<div class="bg-white px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6 sm:flex sm:items-center">
|
|
||||||
<dt class="text-sm leading-5 font-medium text-gray-500">
|
<dt class="text-sm leading-5 font-medium text-gray-500">
|
||||||
{{ ctrans('texts.reports') }}
|
{{ ctrans('texts.reports') }}
|
||||||
</dt>
|
</dt>
|
||||||
@ -53,14 +43,14 @@
|
|||||||
about how we use this.</a>
|
about how we use this.</a>
|
||||||
</dd>
|
</dd>
|
||||||
</div>
|
</div>
|
||||||
<div class="bg-gray-50 px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6 sm:flex sm:items-center">
|
<div class="bg-white px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6 sm:flex sm:items-center">
|
||||||
<dt class="text-sm leading-5 font-medium text-gray-500">
|
<dt class="text-sm leading-5 font-medium text-gray-500">
|
||||||
<button type="button" class="button button-primary bg-blue-600 py-2 px-3 text-xs" id="test-pdf">
|
<button type="button" class="button button-primary bg-blue-600 py-2 px-3 text-xs" id="test-pdf">
|
||||||
{{ ctrans('texts.test_pdf') }}
|
{{ ctrans('texts.test_pdf') }}
|
||||||
</button>
|
</button>
|
||||||
</dt>
|
</dt>
|
||||||
<dd class="text-sm leading-5 text-gray-900 sm:mt-0 sm:col-span-2">
|
<dd class="text-sm leading-5 text-gray-900 sm:mt-0 sm:col-span-2">
|
||||||
<div class="alert py-2 bg-gray-50" id="test-pdf-response"></div>
|
<div class="alert py-2 bg-white" id="test-pdf-response"></div>
|
||||||
</dd>
|
</dd>
|
||||||
<a target="_blank" class="block text-sm text-gray-900 leading-5 underline"
|
<a target="_blank" class="block text-sm text-gray-900 leading-5 underline"
|
||||||
href="https://invoiceninja.github.io/selfhost.html#phantom-js">
|
href="https://invoiceninja.github.io/selfhost.html#phantom-js">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user