See the README for current tweaks
This commit is contained in:
45
config/default.php
Normal file
45
config/default.php
Normal file
@@ -0,0 +1,45 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* AVSDev UF Tweaks (https://avsdev.uk)
|
||||
*
|
||||
* @link https://git.avsdev.uk/avsdev/sprinkle-uf-tweaks
|
||||
* @license https://git.avsdev.uk/avsdev/sprinkle-uf-tweaks/blob/master/LICENSE.md (LGPL-3.0 License)
|
||||
*/
|
||||
|
||||
return [
|
||||
'debug' => [
|
||||
'auth' => true,
|
||||
],
|
||||
/*
|
||||
* ----------------------------------------------------------------------
|
||||
* Database Config
|
||||
* ----------------------------------------------------------------------
|
||||
* Added schema to default with a default schema of public (postgres)
|
||||
*/
|
||||
'db' => [
|
||||
'default' => [
|
||||
'schema' => [env('DB_SCHEMA'), 'public'],
|
||||
],
|
||||
],
|
||||
|
||||
/*
|
||||
* ----------------------------------------------------------------------
|
||||
* Session Config
|
||||
* ----------------------------------------------------------------------
|
||||
* Extended session timeout to be 9 hours (average working day) for development
|
||||
*/
|
||||
'session' => [
|
||||
'minutes' => 540,
|
||||
],
|
||||
|
||||
/*
|
||||
* ----------------------------------------------------------------------
|
||||
* PHP global settings
|
||||
* ----------------------------------------------------------------------
|
||||
* Personal pereference of default timezone...
|
||||
*/
|
||||
'php' => [
|
||||
'timezone' => 'Europe/London',
|
||||
],
|
||||
];
|
||||
30
config/production.php
Normal file
30
config/production.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* AVSDev UF Tweaks (https://avsdev.uk)
|
||||
*
|
||||
* @link https://git.avsdev.uk/avsdev/sprinkle-uf-tweaks
|
||||
* @license https://git.avsdev.uk/avsdev/sprinkle-uf-tweaks/blob/master/LICENSE.md (LGPL-3.0 License)
|
||||
*/
|
||||
|
||||
return [
|
||||
/*
|
||||
* ----------------------------------------------------------------------
|
||||
* Session Config
|
||||
* ----------------------------------------------------------------------
|
||||
* Default session timeout to be 1 hour
|
||||
*/
|
||||
'session' => [
|
||||
'minutes' => 60,
|
||||
],
|
||||
|
||||
/*
|
||||
* ----------------------------------------------------------------------
|
||||
* PHP global settings
|
||||
* ----------------------------------------------------------------------
|
||||
* Default to php's recommended production value for error_reporting
|
||||
*/
|
||||
'php' => [
|
||||
'error_reporting' => E_ALL & ~E_DEPRECATED & ~E_STRICT,
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user