mirror of
https://github.com/YunoHost-Apps/xbackbone_ynh.git
synced 2024-09-03 19:15:53 +02:00
split config templates into 2 files
This commit is contained in:
parent
8eb23ab029
commit
55d31c6518
1 changed files with 27 additions and 0 deletions
27
conf/config-subdomain.php
Normal file
27
conf/config-subdomain.php
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return array(
|
||||||
|
'base_url' => 'https://__DOMAIN__',
|
||||||
|
'db' => array (
|
||||||
|
'connection' => 'mysql',
|
||||||
|
'dsn' => 'host=localhost;port=3306;dbname=__DB_NAME__',
|
||||||
|
'username' => '__DB_NAME__',
|
||||||
|
'password' => '__DB_PWD__',
|
||||||
|
),
|
||||||
|
|
||||||
|
'storage' => array(
|
||||||
|
'driver' => 'local',
|
||||||
|
'path' => '__DATA_DIR__',
|
||||||
|
),
|
||||||
|
|
||||||
|
'ldap' => array(
|
||||||
|
'enabled' => true,
|
||||||
|
'schema' => 'ldap',
|
||||||
|
'host' => 'ldap://127.0.0.1',
|
||||||
|
'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