Ignore:
Timestamp:
May 11, 2022, 12:14:42 PM (2 years ago)
Author:
chronos
Message:
  • Modified: Removed commended out print_r and echo commands used only for debugging.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/NetworkShare/online.php

    r873 r929  
    77  echo('Nacitam strom sdileni...');
    88  $Output = array();
    9   exec('smbtree -N -S',$Output,$Return);
    10   //print_r($Output);
     9  exec('smbtree -N -S',$Output,$Return); 
    1110  //echo($Return."\n");
    1211  echo("OK\n\nSeznam online pocitacu:\n");
     
    5958          } else $Section = 2;
    6059        } else $Section = 1;
    61       } else $Section = 0;
    62       //print_r($Output);
     60      } else $Section = 0;     
    6361      $Output = explode(' ',$Output[1]);
    6462      $MAC = substr($Output[4],1,-1);
     
    7169  // Deaktivuj predchozi online pocitace
    7270  $Database->update('hosts', 1, array('online' => 0));
    73 
    74   //print_r($Online);
     71 
    7572  // Aktivuj online pocitace
    7673  foreach ($Online as $Item)
     
    8885  {
    8986    echo($Row['name'].", ");
    90   }
    91   //print_r($Output);
     87  } 
    9288//  sleep(1000);
    9389  //echo("\nCekam minutu...");
Note: See TracChangeset for help on using the changeset viewer.