up
This commit is contained in:
@@ -104,6 +104,15 @@ $tablesDefaults = [
|
||||
];
|
||||
$tables = array_replace($tablesDefaults, $overrides['tables'] ?? []);
|
||||
|
||||
$placeholdersDefaults = [
|
||||
'bridge' => [
|
||||
'url' => getenv('EMAILTEMPLATE_PLACEHOLDER_URL') ?: '',
|
||||
'token' => getenv('EMAILTEMPLATE_PLACEHOLDER_TOKEN') ?: '',
|
||||
'cache_ttl' => (int)(getenv('EMAILTEMPLATE_PLACEHOLDER_CACHE') ?: 300),
|
||||
],
|
||||
];
|
||||
$placeholders = array_replace_recursive($placeholdersDefaults, $overrides['placeholders'] ?? []);
|
||||
|
||||
$columnsDefaults = [
|
||||
'templates' => ['id'=>'id','name'=>'name','desc'=>null,'cat'=>null,'upd'=>'updated_at'],
|
||||
'sections' => ['id'=>'id','name'=>'name','cat'=>null,'upd'=>'updated_at'],
|
||||
@@ -123,4 +132,5 @@ return [
|
||||
'multi' => $multi,
|
||||
'tables' => $tables,
|
||||
'columns' => $columns,
|
||||
'placeholders' => $placeholders,
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user