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>
|
<P212>2</P212>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
<!-- # Firmware Server Path -->
|
<!-- Firmware Server Path -->
|
||||||
<!-- # Server address -->
|
<!-- Server address -->
|
||||||
<P192>{$grandstream_firmware_path}/ht801</P192>
|
{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 -->
|
<!-- Config Server Path -->
|
||||||
<!-- Server address; -->
|
<!-- Server address; -->
|
||||||
|
|||||||
Reference in New Issue
Block a user