redray
2008-11-30 00dfbafa919e12b7fb4fb869b273ec724e0ade07
server/lib/app.inc.php
@@ -87,7 +87,7 @@
                if($priority >= $conf["log_priority"]) {
                        //if (is_writable($conf["log_file"])) {
                            if (!$fp = fopen ($conf["log_file"], "a")) {
                                die("Unable to open Logfile.");
                                die("Unable to open logfile.");
                            }
                     switch ($priority) {
                        case 0:
@@ -104,7 +104,7 @@
                            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."<br>";
                     echo date("d.m.Y-H:i")." - ".$priority_txt." - ". $msg."\n";
                            fclose($fp);
                        //} else {