config: add back folders_path option. Closes #975

This commit is contained in:
Hylke Bons 2012-09-20 10:33:49 +01:00
parent d543c1db4b
commit 8b24b88d60

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");
}
}