tbrehm
2011-06-24 8eb646a8abd3c39d37adb64d3908cd6ee6b1e5a8
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