Esempio n. 1
0
        /// <summary>
        /// 获取当前的文件服务器地址
        /// </summary>
        /// <returns></returns>
        public static string GetFileServer()
        {
            string url = SiteHelper.GetAppsetString("FileServer");

            return(url.ToString());
        }
Esempio n. 2
0
        /// <summary>
        /// 获取当前服务器地址
        /// </summary>
        /// <returns></returns>
        public static string GetWebRoot()
        {
            string url = SiteHelper.GetAppsetString("webRoot");

            return(url.ToString());
        }