allow to adjust Nextcloud apps that get installed upon first startup

Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
szaimen 2022-09-26 20:27:35 +02:00 committed by Simon L
parent 54f39b5334
commit 029b6ea797
9 changed files with 33 additions and 8 deletions

View file

@ -700,6 +700,14 @@ class ConfigurationManager
return false;
}
public function GetNextcloudStartupApps() : string {
$apps = getenv('NEXTCLOUD_STARTUP_APPS');
if (is_string($apps)) {
return trim($apps);
}
return 'twofactor_totp deck tasks calendar contacts apporder';
}
public function GetCollaboraDictionaries() : string {
$config = $this->GetConfig();
if(!isset($config['collabora_dictionaries'])) {