Check custom config path incase drive is not exist

This commit is contained in:
Jaex 2014-09-06 21:30:58 +03:00
parent 5ceda757f3
commit b8faec2e09

View file

@ -63,7 +63,7 @@ public static string PersonalPath
{ {
get get
{ {
if (!string.IsNullOrEmpty(CustomPersonalPath)) if (!string.IsNullOrEmpty(CustomPersonalPath) && Directory.Exists(CustomPersonalPath))
{ {
return CustomPersonalPath; return CustomPersonalPath;
} }