mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Huge role refactoring/cleanup. Other commits will propably follow. Because some bugs will exist. Still important for longrun and also for auto docs/help/slideshow generation
This commit is contained in:
11
roles/web-app-nextcloud/templates/include.php.j2
Normal file
11
roles/web-app-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