From 2309833af1715c05ec6137c253c3cd4020ed1d90 Mon Sep 17 00:00:00 2001 From: Len Date: Fri, 27 Sep 2019 22:36:28 -0400 Subject: [PATCH] Update {$mac}.xml (#4695) --- .../provision/grandstream/ht502/{$mac}.xml | 24 ++++++++++++------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/resources/templates/provision/grandstream/ht502/{$mac}.xml b/resources/templates/provision/grandstream/ht502/{$mac}.xml index 17a6a3ac75..26e5c8cacc 100644 --- a/resources/templates/provision/grandstream/ht502/{$mac}.xml +++ b/resources/templates/provision/grandstream/ht502/{$mac}.xml @@ -40,15 +40,23 @@ 2 - {if isset($grandstream_firmware_path) && isset($firmware_version)} - {$grandstream_firmware_path}/ht502/{$firmware_version} - {elseif isset($grandstream_firmware_path)} - {$grandstream_firmware_path}/ht502 - {else} - {$domain_name}{$project_path}/app/provision - {/if} + {if isset($grandstream_firmware_path) && isset($firmware_version)} + {$grandstream_firmware_path}/ht502/{$firmware_version} + {elseif isset($grandstream_firmware_path)} + {$grandstream_firmware_path}/ht502 + {else} + {$domain_name}{$project_path}/app/provision + {/if} + - {$domain_name}{$project_path}/app/provision + {if $grandstream_config_server_path=="none"} + + {elseif isset($grandstream_config_server_path)} + {$grandstream_config_server_path} + {else} + {$domain_name}{$project_path}/app/provision + {/if} +