WebUI/Web.config

(开头部分) 2KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<?xml version="1.0"?>
<configuration> 
  <appSettings> 
    <add key="Configpath" value="~/xmlconfig/site.config"/>
    <add key="Urlspath" value="~/xmlconfig/urls.config"/>
    
    <!--上传图片的大小(字节)2M-->
    <add key="ImageSize" value="2090000"/>
    <!--保存图片的高度-->
    <add key="Height" value="300"/>
    <!--保存图片的宽度-->
    <add key="Width" value="300"/>
    <!--保存主题皮肤-->
    <add key="skin" value="Theme1"/>
 
  </appSettings>
  <connectionStrings> 
    
     <!--<add name="conn" connectionString="server=.;database=ek_flower;uid=sa;pwd=sasasa;" />--> 
    <add name="conn" connectionString="server=.\SQL2008R2;database=ekcms_flower;uid=sa;pwd=sa;" />
  </connectionStrings>
  <system.webServer>
    <modules>
      <add type="WebBase.HttpModule,WebBase" name="HttpModule" />
    </modules> 
    
  </system.webServer> 

  <system.web>
    <sessionState mode="InProc"/>
       <!--<httpModules > 
       <add type="EK.Web.Base.HttpModule, EK.Web.Base" name="HttpModule" />  
    </httpModules>-->
  
      
    <!-- 
            设置 compilation debug="true" 可将调试符号插入
            已编译的页面中。但由于这会 
            影响性能,因此只在开发过程中将此值 
            设置为 true。
        -->
     <compilation debug="true" targetFramework="4.0">
    </compilation> 
    <!--
            通过 <authentication> 节可以配置 ASP.NET 用来 
            识别进入用户的
            安全身份验证模式。 
        -->
    <authentication mode="Windows"/> 
    <!--
            如果在执行请求的过程中出现未处理的错误,
            则通过 <customErrors> 节可以配置相应的处理步骤。具体说来,
            开发人员通过该节可以配置
            要显示的 html 错误页
            以代替错误堆栈跟踪。

        <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
            <error statusCode="403" redirect="NoAccess.htm" />
            <error statusCode="404" redirect="FileNotFound.htm" />
        </customErrors>   enableSessionState="true"
后面还有 14 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。