Bug管理系统

源代码在线查看: admin.aspx

软件大小: 333 K
上传用户: ac3698
关键词: Bug 管理系统
下载地址: 免注册下载 普通下载 VIP

相关代码

				
								Copyright 2002-2005 Corey Trager
				Distributed under the terms of the GNU General Public License
				-->
				
				
				
				
				
				DbUtil dbutil;
				Security security;
				
				///////////////////////////////////////////////////////////////////////
				void Page_Load(Object sender, EventArgs e)
				{
				
					Util.do_not_cache(Response);
					dbutil = new DbUtil();
					security = new Security();
					security.check_security(dbutil, Request, Response, Security.MUST_BE_ADMIN);
				
					title.InnerText = Util.get_setting("AppTitle","BugTracker.NET") + " - " 
						+ "admin";
				}
				
				///////////////////////////////////////////////////////////////////////
				void Page_Unload(Object sender, EventArgs e)
				{
					if (dbutil != null) {dbutil.close();}
				}
				
				
				
				
				
				btnet admin
				
				
				
				
				
				
				
				users
				
				projects
				
				categories
				
				priorities
				
				statuses
				
				user defined attribute
				  (see "ShowUserDefinedBugAttribute" and "UserDefinedBugAttributeName" in Web.config)
				
				custom fields
				  (add custom fields to the bug page)
				
				run ad-hoc query
				  
				
				This links to query.aspx.  Query.aspx is not safe on a public web server.
				
				
				
				
				
					
					There are other admin options in the file "Web.config".
					
					View Web.config
					
				
				
				Server Info:
								Response.Write ("Path=");
				Response.Write (HttpContext.Current.Server.MapPath(null));
				Response.Write ("MachineName=");
				Response.Write (HttpContext.Current.Server.MachineName);
				Response.Write ("ScriptTimeout=");
				Response.Write (HttpContext.Current.Server.ScriptTimeout);
				
				%>
				
				
				
							

相关资源