openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit a6a1072b69bc5b823f8394f3598602ebf40ed3f2
parent f0467bee3d23bdfc727764855b5262c03215509c
Author: dankert <devnull@localhost>
Date:   Wed, 17 Feb 2010 00:49:59 +0100

Nach einem Zeilenumbruch in Log-Text ein Leerzeichen einfügen.

Diffstat:
serviceClasses/Logger.class.php | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/serviceClasses/Logger.class.php b/serviceClasses/Logger.class.php @@ -184,7 +184,8 @@ class Logger $text = str_replace( '%action',str_pad($action,12),$text ); $text = str_replace( '%text' ,$message,$text ); $text = str_replace( '%time' ,date($conf['log']['date_format']),$text ); - + $text = str_replace( "\n" ,"\n ",$text ); + // Schreiben in Logdatei error_log( $text."\n",3,$filename ); }