65 lines
1.9 KiB
PHP
65 lines
1.9 KiB
PHP
<?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 Configuration
|
|
* ----------------------------------------------------------------------
|
|
* Turn any of those on to help debug your app
|
|
*/
|
|
'debug' => [
|
|
'tokens' => false,
|
|
],
|
|
|
|
/*
|
|
* ----------------------------------------------------------------------
|
|
* 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,
|
|
],
|
|
|
|
/*
|
|
* ----------------------------------------------------------------------
|
|
* Users Config
|
|
* ----------------------------------------------------------------------
|
|
* Allow permanent deletion of users. Default to false.
|
|
* Installers must turn this on to change default behaviour.
|
|
*/
|
|
'users' => [
|
|
'allow_permanent_delete' => false,
|
|
'purge_activities' => false,
|
|
],
|
|
|
|
/*
|
|
* ----------------------------------------------------------------------
|
|
* PHP global settings
|
|
* ----------------------------------------------------------------------
|
|
* Personal pereference of default timezone...
|
|
*/
|
|
'php' => [
|
|
'timezone' => 'Europe/London',
|
|
],
|
|
];
|