Support ROUNDCUBE_CONFIG_DIR env variable (#6112)

pull/6672/head
Boris Rybalkin 6 years ago committed by Aleksander Machniak
parent 2bd039c9b5
commit 2d85dad0cc

@ -29,7 +29,7 @@ if (!defined('INSTALL_PATH')) {
}
if (!defined('RCMAIL_CONFIG_DIR')) {
define('RCMAIL_CONFIG_DIR', INSTALL_PATH . 'config');
define('RCMAIL_CONFIG_DIR', getenv('ROUNDCUBE_CONFIG_DIR') ?: (INSTALL_PATH . 'config'));
}
if (!defined('RCUBE_LOCALIZATION_DIR')) {

Loading…
Cancel
Save