mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 19:36:07 +08:00
Changes to prepare for future possible configuration of separate logdir, configdir, datadir.
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user