Skip to content

Commit

Permalink
fix(web): let composer configure the roundcube plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
jeboehm committed May 3, 2022
1 parent 33b05e5 commit 587228c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions web/rootfs/usr/local/bin/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ roundcube_init() {
PWD=`pwd`

bin/initdb.sh --dir=$PWD/SQL || bin/updatedb.sh --dir=$PWD/SQL --package=roundcube || echo "Failed to initialize databse. Please run $PWD/bin/initdb.sh manually."
rm -f /var/www/html/webmail/logs/errors.log
}

permissions() {
Expand Down
2 changes: 0 additions & 2 deletions web/rootfs/var/www/html/webmail/config/config.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,3 @@
'allow_self_signed' => false,
],
];

$config['plugins'] = array_merge($config['plugins'], array_map(static fn(string $name) => explode('/', $name, 2)[1], explode(' ', getenv('RC_PLUGINS'))));

0 comments on commit 587228c

Please sign in to comment.