See the README for current tweaks

This commit is contained in:
bwilliams committed 2023-05-31 11:51:12 +01:00
1 parent 97407e9532
commit a67214d024
18 files changed
+1260 -2

No files matched your search

+45
View 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
View 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,
],
];