mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Allow mac address to be used a variable for provisioning.
This commit is contained in:
@@ -305,7 +305,8 @@ include "root.php";
|
||||
elseif (is_array($val) && !is_uuid($val['uuid'])) { $value = $val; }
|
||||
if (isset($value)) {
|
||||
$value = str_replace('${domain_name}', $domain_name, $value);
|
||||
$value = str_replace('{$domain_name}', $domain_name, $value);
|
||||
$value = str_replace('${mac_address}', $mac, $value);
|
||||
$value = str_replace('${mac}', $mac, $value);
|
||||
$provision[$key] = $value;
|
||||
}
|
||||
unset($value);
|
||||
|
||||
Reference in New Issue
Block a user