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);
%>