Ignore:
Timestamp:
Jan 8, 2016, 11:00:11 PM (9 years ago)
Author:
chronos
Message:
  • Modified: Network configure actions now can be executed through cmd.php interface using "php cmd.php config <action>".
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Common/Global.php

    r779 r781  
    444444}
    445445
    446 function RepeatFunction($Period, $Function)
     446function RepeatFunction($Period, $Callback)
    447447{
    448448  while(1)
    449449  {
    450450    $StartTime = time();
    451     $Function();
     451    call_user_func($Callback);
    452452    $EndTime = time();
    453453    $Delay = $Period - ($EndTime - $StartTime);
Note: See TracChangeset for help on using the changeset viewer.