Refactor firmware server path in ht801 template

Update firmware server path logic to include firmware version.
This commit is contained in:
FusionPBX
2026-04-28 18:54:03 +00:00
committed by GitHub
parent 32d3db9de7
commit 5738bd0e35
@@ -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; -->