Permalink
Browse files

Update zigbee2mqtt.class.php

  • Loading branch information...
directman66 committed Jan 30, 2019
1 parent a2fc33b commit eee84cc91c49fb37243a4aa10c577e4a573f7260
Showing with 11 additions and 1 deletion.
  1. +11 −1 modules/zigbee2mqtt/zigbee2mqtt.class.php
@@ -608,7 +608,17 @@ function admin(&$out) {
$out['FN']=$filename;
//$out['FN']="1234";
$a=file_get_contents ($filename);
//$a=file_get_contents ($filename, null,null,1000);
$tmp=file($filename);
$newtmp=array_reverse($tmp);
$a="";
foreach ($newtmp as $value)
{
$a.= $value;
}
$a = str_replace( array("\r\n","\r","\n") , '<br>' , $a);
$out['LOG']=$a;

0 comments on commit eee84cc

Please sign in to comment.