|
|
56ffb44 |
diff -up config/defaults.inc.php.rpm config/defaults.inc.php
|
|
|
56ffb44 |
--- roundcubemail-1.2.1/config/defaults.inc.php.rpm 2016-07-24 22:30:15.000000000 +0200
|
|
|
56ffb44 |
+++ roundcubemail-1.2.1/config/defaults.inc.php 2016-07-31 18:32:28.747930911 +0200
|
|
|
56ffb44 |
@@ -346,11 +346,11 @@ $config['user_aliases'] = false;
|
|
|
f38d059 |
// use this folder to store log files
|
|
|
f38d059 |
// must be writeable for the user who runs PHP process (Apache user if mod_php is being used)
|
|
|
0fe0630 |
// This is used by the 'file' log driver.
|
|
|
0fe0630 |
-$config['log_dir'] = RCUBE_INSTALL_PATH . 'logs/';
|
|
|
0fe0630 |
+$config['log_dir'] = '/var/log/roundcubemail/';
|
|
|
0fe0630 |
|
|
|
f38d059 |
// use this folder to store temp files
|
|
|
f38d059 |
// must be writeable for the user who runs PHP process (Apache user if mod_php is being used)
|
|
|
0fe0630 |
-$config['temp_dir'] = RCUBE_INSTALL_PATH . 'temp/';
|
|
|
15e66d0 |
+$config['temp_dir'] = '/var/lib/roundcubemail/temp/';
|
|
|
0fe0630 |
|
|
|
0fe0630 |
// expire files in temp_dir after 48 hours
|
|
|
0fe0630 |
// possible units: s, m, h, d, w
|
|
|
56ffb44 |
@@ -579,7 +579,7 @@ $config['mime_magic'] = null;
|
|
|
0fe0630 |
// This is used to derive mime-types from the filename extension or vice versa.
|
|
|
0fe0630 |
// Such a file is usually part of the apache webserver. If you don't find a file named mime.types on your system,
|
|
|
0fe0630 |
// download it from http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types
|
|
|
0fe0630 |
-$config['mime_types'] = null;
|
|
|
0fe0630 |
+$config['mime_types'] = '/etc/mime.types';
|
|
|
0fe0630 |
|
|
|
f38d059 |
// path to imagemagick identify binary (if not set we'll use Imagick or GD extensions)
|
|
|
0fe0630 |
$config['im_identify_path'] = null;
|
|
|
56ffb44 |
@@ -1211,3 +1211,7 @@ $config['message_show_email'] = false;
|
|
|
56ffb44 |
// 0 - Reply-All always
|
|
|
56ffb44 |
// 1 - Reply-List if mailing list is detected
|
|
|
56ffb44 |
$config['reply_all_mode'] = 0;
|
|
|
56ffb44 |
+
|
|
|
56ffb44 |
+// Keys directory for all users. Default 'enigma/home'.
|
|
|
56ffb44 |
+// Must be writeable by PHP process
|
|
|
15e66d0 |
+$config['enigma_pgp_homedir'] = '/var/lib/roundcubemail/enigma';
|
|
|
56ffb44 |
diff -up plugins/enigma/config.inc.php.dist.rpm plugins/enigma/config.inc.php.dist
|
|
|
56ffb44 |
--- roundcubemail-1.2.1/plugins/enigma/config.inc.php.dist.rpm 2016-07-31 18:30:24.901231602 +0200
|
|
|
56ffb44 |
+++ roundcubemail-1.2.1/plugins/enigma/config.inc.php.dist 2016-07-31 18:32:00.291770232 +0200
|
|
|
56ffb44 |
@@ -12,10 +12,6 @@ $config['enigma_smime_driver'] = 'phpssl
|
|
|
56ffb44 |
// Enables logging of enigma operations (including Crypt_GPG debug info)
|
|
|
56ffb44 |
$config['enigma_debug'] = false;
|
|
|
56ffb44 |
|
|
|
56ffb44 |
-// Keys directory for all users. Default 'enigma/home'.
|
|
|
56ffb44 |
-// Must be writeable by PHP process
|
|
|
56ffb44 |
-$config['enigma_pgp_homedir'] = null;
|
|
|
56ffb44 |
-
|
|
|
56ffb44 |
// Location of gpg binary. By default it will be auto-detected.
|
|
|
56ffb44 |
// This is also a way to force gpg2 use if there are both 1.x and 2.x on the system.
|
|
|
56ffb44 |
$config['enigma_pgp_binary'] = '';
|
|
|
f38d059 |
diff -up roundcubemail-1.1.0/installer/index.php.orig roundcubemail-1.1.0/installer/index.php
|
|
|
f38d059 |
--- roundcubemail-1.1.0/installer/index.php.orig 2015-02-16 17:39:52.274132735 +0100
|
|
|
f38d059 |
+++ roundcubemail-1.1.0/installer/index.php 2015-02-16 17:41:44.115547278 +0100
|
|
|
0fe0630 |
@@ -41,7 +41,7 @@ ini_set('display_errors', 1);
|
|
|
0fe0630 |
|
|
|
f38d059 |
define('INSTALL_PATH', realpath(__DIR__ . '/../').'/');
|
|
|
0fe0630 |
define('RCUBE_INSTALL_PATH', INSTALL_PATH);
|
|
|
0fe0630 |
-define('RCUBE_CONFIG_DIR', INSTALL_PATH . 'config/');
|
|
|
0fe0630 |
+define('RCUBE_CONFIG_DIR', '/etc/roundcubemail/');
|
|
|
0fe0630 |
|
|
|
0fe0630 |
$include_path = INSTALL_PATH . 'program/lib' . PATH_SEPARATOR;
|
|
|
0fe0630 |
$include_path .= INSTALL_PATH . 'program/include' . PATH_SEPARATOR;
|
|
|
f38d059 |
diff -up roundcubemail-1.1.0/program/include/iniset.php.orig roundcubemail-1.1.0/program/include/iniset.php
|
|
|
f38d059 |
--- roundcubemail-1.1.0/program/include/iniset.php.orig 2015-02-08 14:48:56.000000000 +0100
|
|
|
f38d059 |
+++ roundcubemail-1.1.0/program/include/iniset.php 2015-02-16 17:39:52.274132735 +0100
|
|
|
0fe0630 |
@@ -29,7 +29,7 @@ if (!defined('INSTALL_PATH')) {
|
|
|
0fe0630 |
}
|
|
|
0fe0630 |
|
|
|
0fe0630 |
if (!defined('RCMAIL_CONFIG_DIR')) {
|
|
|
0fe0630 |
- define('RCMAIL_CONFIG_DIR', INSTALL_PATH . 'config');
|
|
|
0fe0630 |
+ define('RCMAIL_CONFIG_DIR', '/etc/roundcubemail');
|
|
|
0fe0630 |
}
|
|
|
0fe0630 |
|
|
|
0fe0630 |
if (!defined('RCUBE_LOCALIZATION_DIR')) {
|
|
|
0fe0630 |
@@ -37,7 +37,7 @@ if (!defined('RCUBE_LOCALIZATION_DIR'))
|
|
|
0fe0630 |
}
|
|
|
0fe0630 |
|
|
|
0fe0630 |
define('RCUBE_INSTALL_PATH', INSTALL_PATH);
|
|
|
0fe0630 |
-define('RCUBE_CONFIG_DIR', RCMAIL_CONFIG_DIR.'/');
|
|
|
0fe0630 |
+define('RCUBE_CONFIG_DIR', '/etc/roundcubemail/');
|
|
|
0fe0630 |
|
|
|
0fe0630 |
|
|
|
0fe0630 |
// RC include folders MUST be included FIRST to avoid other
|
|
|
f38d059 |
diff -up roundcubemail-1.1.0/program/lib/Roundcube/bootstrap.php.orig roundcubemail-1.1.0/program/lib/Roundcube/bootstrap.php
|
|
|
f38d059 |
--- roundcubemail-1.1.0/program/lib/Roundcube/bootstrap.php.orig 2015-02-08 14:48:56.000000000 +0100
|
|
|
f38d059 |
+++ roundcubemail-1.1.0/program/lib/Roundcube/bootstrap.php 2015-02-16 17:39:52.274132735 +0100
|
|
|
0fe0630 |
@@ -66,7 +66,7 @@ if (!defined('RCUBE_INSTALL_PATH')) {
|
|
|
0fe0630 |
}
|
|
|
0fe0630 |
|
|
|
0fe0630 |
if (!defined('RCUBE_CONFIG_DIR')) {
|
|
|
0fe0630 |
- define('RCUBE_CONFIG_DIR', RCUBE_INSTALL_PATH . 'config/');
|
|
|
0fe0630 |
+ define('RCUBE_CONFIG_DIR', '/etc/roundcubemail/');
|
|
|
0fe0630 |
}
|
|
|
0fe0630 |
|
|
|
0fe0630 |
if (!defined('RCUBE_PLUGINS_DIR')) {
|