Merge pull request #366 from olegkaspersky/master

Fixed missing commas in configurations
This commit is contained in:
Sergio Brighenti 2021-08-11 18:21:27 +02:00 committed by GitHub
commit d7d2b5801c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,7 +38,7 @@ return array(
'username' => 'xbackbone', // null, if sqlite 'username' => 'xbackbone', // null, if sqlite
'password' => 's3cr3t', // null, if sqlite 'password' => 's3cr3t', // null, if sqlite
), ),
) );
``` ```
## LDAP Authentication ## LDAP Authentication
@ -57,7 +57,7 @@ return array(
'base_domain' => 'dc=example,dc=com', // the base_dn string 'base_domain' => 'dc=example,dc=com', // the base_dn string
'user_domain' => 'ou=Users', // the user dn string 'user_domain' => 'ou=Users', // the user dn string
'rdn_attribute' => 'uid=', // the attribute to identify the user 'rdn_attribute' => 'uid=', // the attribute to identify the user
) ),
); );
``` ```
@ -75,7 +75,7 @@ return array(
'rdn_attribute' => 'sAMAccountName', // the attribute to use as username 'rdn_attribute' => 'sAMAccountName', // the attribute to use as username
'service_account_dn' => 'cn=xbackbone,cn=Users,dc=example,dc=com', // LDAP Service Account Full DN 'service_account_dn' => 'cn=xbackbone,cn=Users,dc=example,dc=com', // LDAP Service Account Full DN
'service_account_password' => 'examplepassword', 'service_account_password' => 'examplepassword',
) ),
); );
``` ```
@ -86,7 +86,7 @@ return array(
'ldap' => array( 'ldap' => array(
'schema' => 'ldaps', //defaults to 'ldap' 'schema' => 'ldaps', //defaults to 'ldap'
'port' => 636, 'port' => 636,
) ),
); );
``` ```
@ -97,7 +97,7 @@ return array(
'ldap' => array( 'ldap' => array(
... ...
'useStartTLS' => true, //defaults to false 'useStartTLS' => true, //defaults to false
) ),
); );
``` ```
The 'schema' => 'ldaps' and 'useStartTLS'=> true configuration directives are mutually exclusive. Do no use them together. The 'schema' => 'ldaps' and 'useStartTLS'=> true configuration directives are mutually exclusive. Do no use them together.
@ -116,7 +116,7 @@ return array(
'storage' => array ( 'storage' => array (
'driver' => 'local', 'driver' => 'local',
'path' => '/path/to/storage/folder', 'path' => '/path/to/storage/folder',
) ),
); );
``` ```
@ -131,7 +131,7 @@ return array(
'region' => 'the-region', 'region' => 'the-region',
'bucket' => 'bucket-name', 'bucket' => 'bucket-name',
'path' => 'optional/path/prefix', 'path' => 'optional/path/prefix',
) ),
); );
``` ```
For any filesystem S3-compatible, it's possible to specify an `endpoint` (for i.e. Minio) For any filesystem S3-compatible, it's possible to specify an `endpoint` (for i.e. Minio)
@ -146,7 +146,7 @@ return array(
'region' => 'the-region', 'region' => 'the-region',
'bucket' => 'bucket-name', 'bucket' => 'bucket-name',
'path' => 'optional/path/prefix', 'path' => 'optional/path/prefix',
) ),
); );
``` ```
@ -157,7 +157,7 @@ return array(
'storage' => array ( 'storage' => array (
'driver' => 'dropbox', 'driver' => 'dropbox',
'token' => 'the-token', 'token' => 'the-token',
) ),
); );
``` ```
@ -174,7 +174,7 @@ return array(
'path' => 'the/prefix/path/', 'path' => 'the/prefix/path/',
'passive' => true/false, 'passive' => true/false,
'ssl' => true/false, 'ssl' => true/false,
) ),
); );
``` ```
@ -187,7 +187,7 @@ return array(
'project_id' => 'the-project-id', 'project_id' => 'the-project-id',
'key_path' => 'the-key-path', 'key_path' => 'the-key-path',
'bucket' => 'bucket-name', 'bucket' => 'bucket-name',
) ),
); );
``` ```
@ -200,7 +200,7 @@ return array(
'account_name' => 'the-storage-account-name', 'account_name' => 'the-storage-account-name',
'account_key' => 'the-account-key', 'account_key' => 'the-account-key',
'container_name' => 'container-name', 'container_name' => 'container-name',
) ),
); );
``` ```