private string GetReal_savePath() { var path = MapPathUtil.MapPath("~/plugin"); if (!Directory.Exists(path)) { Directory.CreateDirectory(path); } return(path); }
static ConfigManager() { ConfigPath = Path.Combine(MapPathUtil.MapPath("~/Config"), "config.xml"); if (File.Exists(ConfigPath)) { config = XDocument.Load(ConfigPath); } else { config = new XDocument(new XElement("configs")); } }
public string GetPluginUpdateDownloadFolder() { return(Path.Combine(new DirectoryInfo(MapPathUtil.MapPath("~/")).Parent.FullName, @"tqdashboardUpdate\pluginupdate")); }
private string GetDashboardFolder() { return(MapPathUtil.MapPath("~/")); }