Refactor firmware server path in ht801 template
Update firmware server path logic to include firmware version.
This commit is contained in:
@@ -92,9 +92,15 @@
|
||||
<P212>2</P212>
|
||||
{/if}
|
||||
|
||||
<!-- # Firmware Server Path -->
|
||||
<!-- # Server address -->
|
||||
<P192>{$grandstream_firmware_path}/ht801</P192>
|
||||
<!-- Firmware Server Path -->
|
||||
<!-- Server address -->
|
||||
{if isset($grandstream_firmware_path) && isset($firmware_version)}
|
||||
<P192>{$grandstream_firmware_path}/ht801/{$firmware_version}</P192>
|
||||
{elseif isset($grandstream_firmware_path)}
|
||||
<P192>{$grandstream_firmware_path}/ht801/</P192>
|
||||
{else}
|
||||
<P192>{$domain_name}{$project_path}/app/provision</P192>
|
||||
{/if}
|
||||
|
||||
<!-- Config Server Path -->
|
||||
<!-- Server address; -->
|
||||
|
||||
Reference in New Issue
Block a user