Skip to content
Permalink
Browse files

Update cycle_upnpevents.php

  • Loading branch information...
tarasfrompir committed Apr 3, 2019
1 parent b505683 commit d1629d644109adeadeecffa2a58d651ed0eb22ef
Showing with 3 additions and 3 deletions.
  1. +3 −3 scripts/cycle_upnpevents.php
@@ -14,7 +14,7 @@
// берем все обьекты со свойством UPNPADDRESS (это показатель того что это УПНП устройство)
// впредь создаем обязательно такое поле для УПНП устройства
$devices = get_all_upnp_devices();
DebMes (serialize ($devices));
//DebMes (serialize ($devices));
// проверяем устройства на online i pravilnost UPNPADDRESS
$controladdress = array();
foreach($devices as $device) {
@@ -24,7 +24,7 @@
$controladdress = array_merge($controladdress, $out);
}
}
DebMes (serialize ($controladdress));
//DebMes (serialize ($controladdress));
// get subscriptions fields
$subscribs = array();
// poluchem polya
@@ -33,7 +33,7 @@
$out = get_subscription_filds($address);
$subscribs = array_merge($subscribs, $out);
}
DebMes (serialize ($subscribs));
//DebMes (serialize ($subscribs));
// subscribe to events
foreach($subscribs as $field) {
subscribe($field);

0 comments on commit d1629d6

Please sign in to comment.
You can’t perform that action at this time.