summaryrefslogtreecommitdiffstats
path: root/roundcubemail-pr313.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-07-27 07:50:43 +0200
committerRemi Collet <fedora@famillecollet.com>2016-07-27 07:50:43 +0200
commitbf45be3aed01ff10413af3d56a66007afe0be06f (patch)
treeee58b0edc5bb16917d4de82ebb408d1f50e692aa /roundcubemail-pr313.patch
parent36bf01ca6ef5ea6eaae62d72da03c07126012f6b (diff)
roundcubemail: 1.2.1
Diffstat (limited to 'roundcubemail-pr313.patch')
-rw-r--r--roundcubemail-pr313.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/roundcubemail-pr313.patch b/roundcubemail-pr313.patch
index d60e47b..24dbfae 100644
--- a/roundcubemail-pr313.patch
+++ b/roundcubemail-pr313.patch
@@ -11,12 +11,12 @@ diff --git a/program/lib/Roundcube/rcube.php b/program/lib/Roundcube/rcube.php
index 7388472..c2fc70f 100644
--- a/program/lib/Roundcube/rcube.php
+++ b/program/lib/Roundcube/rcube.php
-@@ -1184,7 +1184,7 @@ public static function write_log($name, $line)
+@@ -1195,7 +1195,7 @@ class rcube
+ $log_dir = RCUBE_INSTALL_PATH . 'logs';
}
- // try to open specific log file for writing
-- $logfile = $log_dir.'/'.$name;
-+ $logfile = $log_dir.'/'.$name.'.log';
+- return file_put_contents("$log_dir/$name", $line, FILE_APPEND) !== false;
++ return file_put_contents("$log_dir/$name.log", $line, FILE_APPEND) !== false;
+ }
- if ($fp = @fopen($logfile, 'a')) {
- fwrite($fp, $line);
+ /**