introduced utility assets, default titles, and asset add privileges
This commit is contained in:
parent
542e066594
commit
cb17c19f23
6 changed files with 114 additions and 26 deletions
|
|
@ -150,6 +150,9 @@ sub readConfig {
|
|||
foreach my $key ($config->directives) {
|
||||
$data{$key} = $config->get($key);
|
||||
}
|
||||
if (ref $data{assetAddPrivilege} ne "ARRAY") {
|
||||
$data{assetAddPrivilege} = [$data{assetAddPrivilege}];
|
||||
}
|
||||
if (ref $data{authMethods} ne "ARRAY") {
|
||||
$data{authMethods} = [$data{authMethods}];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue