You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
513 B
24 lines
513 B
<%@ WebHandler Language="C#" Class="CuteEditor_AjaxUploader" %>
|
|
|
|
using System;
|
|
using System.Web;
|
|
using CuteEditor;
|
|
|
|
public class CuteEditor_AjaxUploader : IHttpHandler {
|
|
|
|
public void ProcessRequest (HttpContext context) {
|
|
if (CuteEditor.UploadModule.HandleResource(context))
|
|
return;
|
|
if (CuteEditor.UploadModule.HandleAddonUpload(context))
|
|
return;
|
|
|
|
context.Response.Write("Unknown Request Type");
|
|
}
|
|
|
|
public bool IsReusable {
|
|
get {
|
|
return false;
|
|
}
|
|
}
|
|
|
|
} |