debug presence
This commit is contained in:
16
utils.php
16
utils.php
@ -208,6 +208,22 @@ function setValue($fn, $property, $value)
|
||||
$indexDevices[$ieeeAddress]->properties[$property]["value"] = $value;
|
||||
}
|
||||
|
||||
function aliases($fn, $property)
|
||||
{
|
||||
global $aliases;
|
||||
logger(DEBUG, "Function aliases " . $fn . "/" . $property, __FILE__ . ":" . __LINE__);
|
||||
if (array_key_exists($fn . "/" . $property, $aliases))
|
||||
{
|
||||
logger(DEBUG, "exists " . $fn . "/" . $property, __FILE__ . ":" . __LINE__);
|
||||
return "/" . $aliases[$fn . "/" . $property];
|
||||
}else
|
||||
{
|
||||
return "/" . _($property);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
//logger(DEBUG, _("signal handling"), __FILE__ . ":" . __LINE__, false);
|
||||
//signal handling
|
||||
function signalHandler($signal)
|
||||
|
Reference in New Issue
Block a user