|
|
@ -1,10 +1,10 @@ |
|
|
|
{ |
|
|
|
{ |
|
|
|
use JSON; |
|
|
|
use JSON; |
|
|
|
|
|
|
|
|
|
|
|
my $dbn = $ajaxplorer{'DbName'} || 'ajaxplorer'; |
|
|
|
my $dbn = $pydio{'DbName'} || 'pydio'; |
|
|
|
my $dbu = $ajaxplorer{'DbUser'} || 'ajaxplorer'; |
|
|
|
my $dbu = $pydio{'DbUser'} || 'pydio'; |
|
|
|
my $dbp = $ajaxplorer{'DbPassword'} || 'secret'; |
|
|
|
my $dbp = $pydio{'DbPassword'} || 'secret'; |
|
|
|
my $url = $ajaxplorer{'LogoutUrl'} || ''; |
|
|
|
my $url = $pydio{'LogoutUrl'} || ''; |
|
|
|
|
|
|
|
|
|
|
|
my $data = { |
|
|
|
my $data = { |
|
|
|
'core.conf' => { |
|
|
|
'core.conf' => { |
|
|
@ -20,11 +20,11 @@ my $data = { |
|
|
|
}, |
|
|
|
}, |
|
|
|
'UNIQUE_INSTANCE_CONFIG' => { |
|
|
|
'UNIQUE_INSTANCE_CONFIG' => { |
|
|
|
'FAST_CHECKS' => JSON::true, |
|
|
|
'FAST_CHECKS' => JSON::true, |
|
|
|
'ROLES_FILEPATH' => '/var/lib/ajaxplorer/plugins/auth.serial/roles.ser', |
|
|
|
'ROLES_FILEPATH' => '/var/lib/pydio/plugins/auth.serial/roles.ser', |
|
|
|
'USERS_DIRPATH' => '/var/lib/ajaxplorer/plugins/auth.serial', |
|
|
|
'USERS_DIRPATH' => '/var/lib/pydio/plugins/auth.serial', |
|
|
|
'instance_name' => 'conf.serial', |
|
|
|
'instance_name' => 'conf.serial', |
|
|
|
'group_switch_value' => 'conf.serial', |
|
|
|
'group_switch_value' => 'conf.serial', |
|
|
|
'REPOSITORIES_FILEPATH' => '/var/lib/ajaxplorer/plugins/conf.serial/repo.ser' |
|
|
|
'REPOSITORIES_FILEPATH' => '/var/lib/pydio/plugins/conf.serial/repo.ser' |
|
|
|
}, |
|
|
|
}, |
|
|
|
'USER_CREATE_REPOSITORY' => JSON::false, |
|
|
|
'USER_CREATE_REPOSITORY' => JSON::false, |
|
|
|
'SAVE_GUEST_PREFERENCES' => JSON::false, |
|
|
|
'SAVE_GUEST_PREFERENCES' => JSON::false, |
|
|
@ -41,7 +41,7 @@ my $data = { |
|
|
|
'TRANSMIT_CLEAR_PASS' => JSON::true, |
|
|
|
'TRANSMIT_CLEAR_PASS' => JSON::true, |
|
|
|
'AUTOCREATE_AJXPUSER' => JSON::false, |
|
|
|
'AUTOCREATE_AJXPUSER' => JSON::false, |
|
|
|
'group_switch_value' => 'auth.basic_http', |
|
|
|
'group_switch_value' => 'auth.basic_http', |
|
|
|
'USERS_FILEPATH' => '/var/lib/ajaxplorer/plugins/auth.serial/users.ser' |
|
|
|
'USERS_FILEPATH' => '/var/lib/pydio/plugins/auth.serial/users.ser' |
|
|
|
}, |
|
|
|
}, |
|
|
|
'SLAVE_INSTANCE_CONFIG_group_switch' => '', |
|
|
|
'SLAVE_INSTANCE_CONFIG_group_switch' => '', |
|
|
|
'SLAVE_INSTANCE_CONFIG' => [], |
|
|
|
'SLAVE_INSTANCE_CONFIG' => [], |
|
|
|