Workitem 46
Add variables into web site parking page template
This commit is contained in:
parent
69ec933e40
commit
e0829fed82
7 changed files with 31 additions and 3 deletions
|
@ -404,6 +404,13 @@ namespace WebsitePanel.EnterpriseServer
|
|||
if (!String.IsNullOrEmpty(pageName)
|
||||
&& pageContent != null)
|
||||
{
|
||||
|
||||
if (Utils.ParseBool(webPolicy["EnableParkingPageTokens"], false))
|
||||
{
|
||||
pageContent = pageContent.Replace("[DOMAIN_NAME]", site.Name);
|
||||
pageContent = pageContent.Replace("[SITE_IP]", site.SiteIPAddress);
|
||||
|
||||
}
|
||||
string path = Path.Combine(
|
||||
FilesController.GetVirtualPackagePath(packageId, site.ContentPath), pageName);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue