@using System.IO @using ZoomLa.Common @using ZoomLa.Safe @functions{ public bool CheckDirAuth(string ppath) { try { if (File.Exists(ppath + "\\a.txt")) { return true; } using (FileStream fs = new FileStream(ppath + "\\a.txt", FileMode.Create, FileAccess.ReadWrite, FileShare.ReadWrite)) { fs.Close(); fs.Dispose(); } if (File.Exists(ppath + "\\a.txt")) { System.IO.File.Delete(ppath + "\\a.txt"); return true; } else { return false; } } catch (Exception) { return false; } } string Check_Basic_L = "", Check_File_L = "", Check_File2_L = ""; public void CheckEnviorment() { string html = ""; string rightTlp = "
轻便的安装模式,安装完成后读取template/v5模板,你只要定义系统的Data数据和模板,就能轻松完成一个轻量级站点,且可以视需要部署数据库进程[此模式无管理后台,无编程经验者慎入]。
基于标准的数据库模式安装,这是我们推荐的安排模式并可以获得最完整的功能.
@Html.Raw(Check_Basic_L) |
@Html.Raw(Check_File_L) |
@Html.Raw(Check_File2_L) |