Use same local attachment folder location in dev and prod
This commit is contained in:
parent
88af83cf96
commit
4e04d4666d
@ -92,12 +92,7 @@ namespace Fab2ApprovalSystem.Misc
|
|||||||
public static string GetAttachmentFolder()
|
public static string GetAttachmentFolder()
|
||||||
{
|
{
|
||||||
ConfigurationManager.RefreshSection("appSettings");
|
ConfigurationManager.RefreshSection("appSettings");
|
||||||
if (GlobalVars.DBConnection.ToUpper() == "TEST" || GlobalVars.DBConnection.ToUpper() == "QUALITY")
|
return ConfigurationManager.AppSettings["AttachmentFolder"];
|
||||||
{
|
|
||||||
return ConfigurationManager.AppSettings["AttachmentFolderTest"];
|
|
||||||
}
|
|
||||||
else
|
|
||||||
return ConfigurationManager.AppSettings["AttachmentFolder"];
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user