From bf45be3aed01ff10413af3d56a66007afe0be06f Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 27 Jul 2016 07:50:43 +0200 Subject: roundcubemail: 1.2.1 --- roundcubemail-pr313.patch | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'roundcubemail-pr313.patch') 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); + /** -- cgit