mirror of
https://github.com/YunoHost-Apps/xbackbone_ynh.git
synced 2024-09-03 19:15:53 +02:00
Update config.php
This commit is contained in:
parent
5b71498597
commit
9f263e3604
1 changed files with 21 additions and 12 deletions
|
@ -1,16 +1,25 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
return [
|
return array(
|
||||||
'app_name' => 'XBackBone',
|
|
||||||
'base_url' => 'https://__DOMAIN____PATH__',
|
'base_url' => 'https://__DOMAIN____PATH__',
|
||||||
'storage' => [
|
'db' => array (
|
||||||
|
'connection' => 'mysql',
|
||||||
|
'dsn' => 'host=localhost;port=3306;dbname=__BD_NAME__',
|
||||||
|
'username' => '__BD_NAME__',
|
||||||
|
'password' => '__BD_PWD__',
|
||||||
|
),
|
||||||
|
'storage' => array(
|
||||||
'driver' => 'local',
|
'driver' => 'local',
|
||||||
'path' => './storage',
|
'path' => '__DATA_DIR__',
|
||||||
],
|
),
|
||||||
'db' => [
|
'ldap' => array(
|
||||||
'connection' => 'sqlite',
|
'enabled' => true,
|
||||||
'dsn' => 'resources/database/xbackbone.db',
|
'schema' => 'ldap',
|
||||||
'username' => null,
|
'host' => 'ldap://127.0.0.1',
|
||||||
'password' => null,
|
'port' => 389,
|
||||||
]
|
'base_domain' => 'dc=yunohost,dc=org',
|
||||||
];
|
'search_filter' => '(&(|(objectclass=posixAccount))(uid={{username}})(permission=cn=__APP__.main,ou=permission,dc=yunohost,dc=org))',
|
||||||
|
'user_domain' => 'ou=Users',
|
||||||
|
'rdn_attribute' => 'uid=',
|
||||||
|
),
|
||||||
|
);
|
||||||
|
|
Loading…
Add table
Reference in a new issue