|
@@ -272,6 +272,8 @@ begin
|
|
end;
|
|
end;
|
|
If (not R.HeadersSent) then
|
|
If (not R.HeadersSent) then
|
|
begin
|
|
begin
|
|
|
|
+ R.Code:=500;
|
|
|
|
+ R.CodeText:='Application error '+E.ClassName;
|
|
R.ContentType:='text/html';
|
|
R.ContentType:='text/html';
|
|
end;
|
|
end;
|
|
If (R.ContentType='text/html') then
|
|
If (R.ContentType='text/html') then
|