config: add back folders_path option. Closes #975

This commit is contained in:
Hylke Bons 2012-09-20 10:33:49 +01:00
parent ed4ece4fec
commit 76d4b269c0

View file

@ -44,7 +44,10 @@ namespace SparkleLib {
public string FoldersPath {
get {
return Path.Combine (HomePath, "SparkleShare");
if (GetConfigOption ("folders_path") != null)
return GetConfigOption ("folders_path");
else
return Path.Combine (HomePath, "SparkleShare");
}
}