mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-17 15:56:04 +02:00
Optimized Nextcloud Configuration
This commit is contained in:
11
roles/docker-nextcloud/templates/include.php.j2
Normal file
11
roles/docker-nextcloud/templates/include.php.j2
Normal file
@@ -0,0 +1,11 @@
|
||||
{% raw %}
|
||||
// Include and merge all PHP config files from cymais
|
||||
|
||||
$CONFIG_EXTRA = [];
|
||||
|
||||
foreach (glob("{% endraw %}{{ nextcloud_docker_config_additives_directory }}{% raw %}*.php") as $file) {
|
||||
$CONFIG_EXTRA = array_merge($CONFIG_EXTRA, include $file);
|
||||
}
|
||||
|
||||
$CONFIG = array_merge($CONFIG, $CONFIG_EXTRA);
|
||||
{% endraw %}
|
Reference in New Issue
Block a user