diff --git a/resources/templates/provision/grandstream/ht818/{$mac}.xml b/resources/templates/provision/grandstream/ht818/{$mac}.xml
index 51fe7497bb..58631e957b 100644
--- a/resources/templates/provision/grandstream/ht818/{$mac}.xml
+++ b/resources/templates/provision/grandstream/ht818/{$mac}.xml
@@ -90,7 +90,13 @@
- {$domain_name}{$project_path}/app/provision
+ {elseif isset($grandstream_config_server_path)}
+ {$grandstream_config_server_path}
+ {else}
+ {$domain_name}{$project_path}/app/provision
+ {/if}