summaryrefslogtreecommitdiffstats
path: root/roundcubemail-pr313.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-09-17 16:14:10 +0200
committerRemi Collet <remi@remirepo.net>2018-09-17 16:14:10 +0200
commit30b92695ce9d7dfc7e92508408c672b0f034724d (patch)
tree75053709ee2df36cd010ed1ecc7ec7f9674aa1bb /roundcubemail-pr313.patch
parenteb1ed62fa906ab7338ff771f98145563f58b7d3c (diff)
Update to 1.4-beta
raise dependency on pear/net_sieve 1.4.3 raise dependency on kolab/net_ldap3 1.0.6 add dependency on masterminds/html5
Diffstat (limited to 'roundcubemail-pr313.patch')
-rw-r--r--roundcubemail-pr313.patch82
1 files changed, 0 insertions, 82 deletions
diff --git a/roundcubemail-pr313.patch b/roundcubemail-pr313.patch
deleted file mode 100644
index 2490e1a..0000000
--- a/roundcubemail-pr313.patch
+++ /dev/null
@@ -1,82 +0,0 @@
-From 132a807dff7fc2d173e2e3bebb18ee181c7b27d9 Mon Sep 17 00:00:00 2001
-From: Remi Collet <fedora@famillecollet.com>
-Date: Mon, 28 Dec 2015 08:47:37 +0100
-Subject: [PATCH 1/2] add .log suffix to all log file names
-
----
- program/lib/Roundcube/rcube.php | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/program/lib/Roundcube/rcube.php b/program/lib/Roundcube/rcube.php
-index 3694c5c4b..ef5dcb94e 100644
---- a/program/lib/Roundcube/rcube.php
-+++ b/program/lib/Roundcube/rcube.php
-@@ -1246,7 +1246,7 @@ public static function write_log($name, $line)
- $log_dir = RCUBE_INSTALL_PATH . 'logs';
- }
-
-- return file_put_contents("$log_dir/$name", $line, FILE_APPEND) !== false;
-+ return file_put_contents("$log_dir/$name.log", $line, FILE_APPEND) !== false;
- }
-
- /**
-
-From 6ca4eab399adad22ed93b26c5870896425631dfa Mon Sep 17 00:00:00 2001
-From: Remi Collet <remi@remirepo.net>
-Date: Tue, 27 Jun 2017 13:35:01 +0200
-Subject: [PATCH 2/2] add 'log_file_ext' configuration option
-
----
- config/defaults.inc.php | 3 +++
- program/lib/Roundcube/rcube.php | 8 +++++++-
- 2 files changed, 10 insertions(+), 1 deletion(-)
-
-diff --git a/config/defaults.inc.php b/config/defaults.inc.php
-index e2db2b726..050803231 100644
---- a/config/defaults.inc.php
-+++ b/config/defaults.inc.php
-@@ -77,6 +77,9 @@
- // set to 0 to avoid session IDs being logged.
- $config['log_session_id'] = 8;
-
-+// Default extension used for log file name
-+$config['log_file_ext'] = '.log';
-+
- // Syslog ident string to use, if using the 'syslog' log driver.
- $config['syslog_id'] = 'roundcube';
-
-diff --git a/program/lib/Roundcube/rcube.php b/program/lib/Roundcube/rcube.php
-index ef5dcb94e..401cd3f86 100644
---- a/program/lib/Roundcube/rcube.php
-+++ b/program/lib/Roundcube/rcube.php
-@@ -1242,11 +1242,17 @@ public static function write_log($name, $line)
- }
- }
-
-+ if (self::$instance) {
-+ $log_suf = self::$instance->config->get('log_file_ext', '.log');
-+ } else {
-+ $log_suf = '.log';
-+ }
-+
- if (empty($log_dir)) {
- $log_dir = RCUBE_INSTALL_PATH . 'logs';
- }
-
-- return file_put_contents("$log_dir/$name.log", $line, FILE_APPEND) !== false;
-+ return file_put_contents("$log_dir/$name$log_suf", $line, FILE_APPEND) !== false;
- }
-
- /**
-diff -up ./program/lib/Roundcube/rcube_config.php.suf ./program/lib/Roundcube/rcube_config.php
---- ./program/lib/Roundcube/rcube_config.php.suf 2018-01-15 07:32:16.149315868 +0100
-+++ ./program/lib/Roundcube/rcube_config.php 2018-01-15 07:32:19.436332757 +0100
-@@ -253,7 +253,7 @@ class rcube_config
- ini_set('error_log', 'syslog');
- }
- else {
-- ini_set('error_log', $this->prop['log_dir'].'/errors');
-+ ini_set('error_log', $this->prop['log_dir'].'/errors.log');
- }
- }
-