tbrehm
2011-01-11 04620b7ff00c194ae1bf4c398ebcb26d5c950b6a
server/lib/app.inc.php
@@ -127,10 +127,10 @@
                        break;
                  }
                     
                            if (!fwrite($fp, date('d.m.Y-H:i').' - '.$priority_txt.' - '. $msg."\r\n")) {
                            if (!fwrite($fp, @date('d.m.Y-H:i').' - '.$priority_txt.' - '. $msg."\r\n")) {
                                die('Unable to write to logfile.');
                            }
            echo date('d.m.Y-H:i').' - '.$priority_txt.' - '. $msg."\n";
            echo @date('d.m.Y-H:i').' - '.$priority_txt.' - '. $msg."\n";
            fclose($fp);
               // Log to database