Changeset 190


Ignore:
Timestamp:
Apr 14, 2009, 7:43:18 PM (16 years ago)
Author:
george
Message:
  • Opraveno: Nespouštet restartovací skripty s prázdným názvem skriptu.
Location:
trunk/system
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/system/generate.php

    r168 r190  
    1414  {
    1515    echo($Service['caption']."...");
    16     exec('/usr/bin/php '.$Service['generator']);
     16    if($Service['generator'] != '')
     17      exec('/usr/bin/php '.$Service['generator']);
    1718    $Parts = explode('|', $Service['restarter']);
    1819    foreach($Parts as $Item)
  • trunk/system/generators/traffic_shaping_routerboard.php

    r188 r190  
    4141
    4242// Divide rules by subnet number
    43 $DbResult = $Database->query('SELECT Id, AddressRange, Mask FROM NetworkSubnet WHERE Member = 0');
     43$DbResult = $Database->query('SELECT Id, AddressRange, Mask FROM NetworkSubnet');
    4444while($Subnet = $DbResult->fetch_assoc())
    4545{
Note: See TracChangeset for help on using the changeset viewer.