Changes to prepare for future possible configuration of separate logdir, configdir, datadir.

This commit is contained in:
Brian McBee
2007-08-03 18:01:55 +00:00
parent 0975ff6cfd
commit 599a6d32ee
11 changed files with 95 additions and 18 deletions

View File

@@ -26,6 +26,7 @@
*
*/
using System;
using System.IO;
using System.Security.Cryptography;
using System.Net;
using System.Text;
@@ -275,6 +276,39 @@ namespace OpenSim.Framework.Utilities
return null;
}
//
// directory locations
//
public static string homeDir()
{
string temp;
// string personal=(Environment.GetFolderPath(Environment.SpecialFolder.Personal));
// temp = Path.Combine(personal,".OpenSim");
temp=".";
return temp;
}
public static string configDir()
{
string temp;
temp = ".";
return temp;
}
public static string dataDir()
{
string temp;
temp = ".";
return temp;
}
public static string logDir()
{
string temp;
temp = ".";
return temp;
}
public Util()
{