mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Added .env field for MySQL strict mode
This commit is contained in:
parent
da086d3345
commit
68bb3c8a82
@ -6,6 +6,7 @@ APP_KEY=SomeRandomString
|
|||||||
APP_TIMEZONE
|
APP_TIMEZONE
|
||||||
|
|
||||||
DB_TYPE=mysql
|
DB_TYPE=mysql
|
||||||
|
DB_STRICT=false
|
||||||
DB_HOST=localhost
|
DB_HOST=localhost
|
||||||
DB_DATABASE=ninja
|
DB_DATABASE=ninja
|
||||||
DB_USERNAME
|
DB_USERNAME
|
||||||
|
@ -576,6 +576,3 @@ if (Auth::check() && Auth::user()->id === 1)
|
|||||||
Auth::loginUsingId(1);
|
Auth::loginUsingId(1);
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -621,7 +621,7 @@ class Invoice extends EntityModel implements BalanceAffecting
|
|||||||
'renderSettings' => [
|
'renderSettings' => [
|
||||||
'passThroughHeaders' => true,
|
'passThroughHeaders' => true,
|
||||||
],
|
],
|
||||||
'delayTime' => 1000,
|
// 'delayTime' => 1000,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$opts = [
|
$opts = [
|
||||||
|
@ -61,7 +61,7 @@ return [
|
|||||||
'charset' => 'utf8',
|
'charset' => 'utf8',
|
||||||
'collation' => 'utf8_unicode_ci',
|
'collation' => 'utf8_unicode_ci',
|
||||||
'prefix' => '',
|
'prefix' => '',
|
||||||
'strict' => false,
|
'strict' => env('DB_STRICT', false),
|
||||||
],
|
],
|
||||||
|
|
||||||
'pgsql' => [
|
'pgsql' => [
|
||||||
|
@ -673,7 +673,7 @@ return array(
|
|||||||
'counter' => 'Counter',
|
'counter' => 'Counter',
|
||||||
|
|
||||||
'payment_type_dwolla' => 'Dwolla',
|
'payment_type_dwolla' => 'Dwolla',
|
||||||
'gateway_help_43' => ':link to sign up for Dwolla.<br/>Note: remove dashes from the Destination/Dwolla Id',
|
'gateway_help_43' => ':link to sign up for Dwolla',
|
||||||
'partial_value' => 'Must be greater than zero and less than the total',
|
'partial_value' => 'Must be greater than zero and less than the total',
|
||||||
'more_actions' => 'More Actions',
|
'more_actions' => 'More Actions',
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user