Skip to content

Commit ca135b6

Browse files
committed
Printing the siteName.
1 parent 96e0f6d commit ca135b6

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

eFormAPI/Installation/CustomActions/CustomAction.cs

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,8 @@ private static void AddImageHandlers(string siteName)
650650

651651
using (ServerManager serverManager = new ServerManager())
652652
{
653-
//MessageBox.Show("AddImageHandlers called");
653+
MessageBox.Show("AddImageHandlers called for siteName " + siteName);
654+
654655
var config = serverManager.GetWebConfiguration(siteName);
655656
var handlersSection = config.GetSection("system.webServer/handlers");
656657
var handlersCollection = handlersSection.GetCollection();
@@ -675,12 +676,12 @@ private static void AddImageHandlers(string siteName)
675676
MessageBox.Show("jpegHandlerMissing");
676677
jpegHandlerMissing = false;
677678
}
678-
string obj = "";
679-
foreach (var part in ce.Attributes)
680-
{
681-
obj += part.Name + " : " + part.Value + "\n";
682-
}
683-
MessageBox.Show("current ce is :\n" + obj.ToString());
679+
//string obj = "";
680+
//foreach (var part in ce.Attributes)
681+
//{
682+
// obj += part.Name + " : " + part.Value + "\n";
683+
//}
684+
//MessageBox.Show("current ce is :\n" + obj.ToString());
684685
}
685686

686687
if (pngHandlerMissing)

0 commit comments

Comments
 (0)