Commit Changes for workitem 46

This commit is contained in:
omara 2012-05-24 21:06:32 -04:00
commit c3250bf553
7 changed files with 30 additions and 3 deletions

View file

@ -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);