version 1.1.268--yellow-neon

This commit is contained in:
Daniele Teti 2021-12-23 18:59:10 +01:00
parent cd61ef09a5
commit 3947357a90

View File

@ -1973,27 +1973,22 @@ begin
Result := fData; Result := fData;
end; end;
function TWebContext.GetHostingFrameworkType: TMVCHostingFrameworkType; function TWebContext.GetHostingFrameworkType: TMVCHostingFrameworkType;
begin begin
{$IFDEF WEBAPACHEHTTP} {$IFDEF WEBAPACHEHTTP}
if FRequest.ClassType = TApacheRequest then if FRequest.ClassType = TApacheRequest then
begin begin
Exit(hftApache); Exit(hftApache);
end end;
else {$ENDIF}
begin {$IFDEF MSWINDOWS}
{$IFNDEF LINUX}
if FRequest.ClassType = TISAPIRequest then if FRequest.ClassType = TISAPIRequest then
begin begin
Exit(hftISAPI); Exit(hftISAPI);
end end;
else
{$ENDIF} {$ENDIF}
{$ENDIF}
begin
Exit(hftIndy); Exit(hftIndy);
end;
end;
end; end;
{ MVCFromBodyAttribute } { MVCFromBodyAttribute }