summaryrefslogtreecommitdiff
path: root/program/include/iniset.php
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2012-11-25 17:35:53 +0100
committerThomas Bruederli <thomas@roundcube.net>2012-11-25 17:35:53 +0100
commit9be2f43d02cd54340fc64c9b2cee9cfa94b49034 (patch)
tree6972efcd24b6ac12643a93ae19fbcab5411938fd /program/include/iniset.php
parent5352b55779aadc8b4c665daf69c7a27767f17d78 (diff)
Define more (uniquely prefixed) constants for Roundcube directories in order to enhance the interoperability of the Roundcube framework
Diffstat (limited to 'program/include/iniset.php')
-rw-r--r--program/include/iniset.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/program/include/iniset.php b/program/include/iniset.php
index 3e718c9bf..d79fbd466 100644
--- a/program/include/iniset.php
+++ b/program/include/iniset.php
@@ -43,6 +43,14 @@ if (!defined('RCMAIL_CONFIG_DIR')) {
define('RCMAIL_CONFIG_DIR', INSTALL_PATH . 'config');
}
+if (!defined('RCUBE_LOCALIZATION_DIR')) {
+ define('RCUBE_LOCALIZATION_DIR', INSTALL_PATH . 'program/localization/');
+}
+
+define('RCUBE_INSTALL_PATH', INSTALL_PATH);
+define('RCUBE_CONFIG_DIR', RCMAIL_CONFIG_DIR);
+
+
// RC include folders MUST be included FIRST to avoid other
// possible not compatible libraries (i.e PEAR) to be included
// instead the ones provided by RC