diff --git a/scripts/log.php b/scripts/log.php index df7bd2e..a825693 100644 --- a/scripts/log.php +++ b/scripts/log.php @@ -15,8 +15,8 @@ $fileName = MMDVMLOGPATH. "/MMDVM-".date(Y)."-".date(m)."-".date(d).".log"; - - + + @@ -48,7 +48,10 @@ $fileName = MMDVMLOGPATH. "/MMDVM-".date(Y)."-".date(m)."-".date(d).".log";
Fichero log
-
+
+ + Log file + eof()) { // Echo one line from the file. - echo $file->fgets(); - echo "
"; + echo""; + echo ""; + echo"\n"; } // Unset the file to call __destruct(), closing the file handle. $file = null; ?> +
"; + echo $file->fgets(); + echo "
+ +