Ignore:
Timestamp:
Apr 6, 2020, 11:17:40 PM (5 years ago)
Author:
chronos
Message:
  • Modified: Improved code format.
File:
1 edited

Legend:

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

    r790 r873  
    44
    55$Dnes = date('Y-m-d');
    6 //while(1)
     6//while (1)
    77//{
    88  $Hosts = array();
    99  $StartTime = GetMicrotime();
    1010  $DbResult = $Database->query("SELECT * FROM NetworkDevice WHERE Online=1 AND (Block=0 OR Name='centrala') AND (Name!='GATE') AND User>0");
    11   while($Row = $DbResult->fetch_array())
     11  while ($Row = $DbResult->fetch_array())
    1212  {
    1313    //echo('Host: '.$Host."...\n");
     
    1616    $HostID = 100;
    1717    $StartTime2 = GetMicrotime();
    18     if($Dnes != $Row['last_share_check'])
     18    if ($Dnes != $Row['last_share_check'])
    1919    {
    2020      echo("Kontroluji ".$Row['Name']."...\n");
Note: See TracChangeset for help on using the changeset viewer.