diff --git a/admin_manual/configuration_server/config_sample_php_parameters.rst b/admin_manual/configuration_server/config_sample_php_parameters.rst index 0b5fc1fba..d15c90580 100644 --- a/admin_manual/configuration_server/config_sample_php_parameters.rst +++ b/admin_manual/configuration_server/config_sample_php_parameters.rst @@ -404,6 +404,22 @@ to ``de``). If that does not exist either, it falls back to ``default`` Defaults to ``core/skeleton`` in the Nextcloud directory. +:: + + 'templatesdirectory' => '/path/to/nextcloud/templates', + +The directory where the template files are located. These files will be +copied to the template directory of new users. Leave empty to not copy any +template files. + +``{lang}`` can be used as a placeholder for the language of the user. +If the directory does not exist, it falls back to non dialect (from ``de_DE`` +to ``de``). If that does not exist either, it falls back to ``default`` + +If this is not set creating a template directory will only happen if no custom +``skeletondirectory`` is defined, otherwise the shipped templates will be used +to create a template directory for the user. + :: 'lost_password_link' => 'https://example.org/link/to/password/reset',