mirror of
https://github.com/danieleteti/delphimvcframework.git
synced 2024-11-16 16:25:54 +01:00
version 1.1.268--yellow-neon
This commit is contained in:
parent
cd61ef09a5
commit
3947357a90
@ -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
|
|
||||||
else
|
|
||||||
begin
|
|
||||||
{$IFNDEF LINUX}
|
|
||||||
if FRequest.ClassType = TISAPIRequest then
|
|
||||||
begin
|
|
||||||
Exit(hftISAPI);
|
|
||||||
end
|
|
||||||
else
|
|
||||||
{$ENDIF}
|
|
||||||
{$ENDIF}
|
|
||||||
begin
|
|
||||||
Exit(hftIndy);
|
|
||||||
end;
|
|
||||||
end;
|
end;
|
||||||
|
{$ENDIF}
|
||||||
|
{$IFDEF MSWINDOWS}
|
||||||
|
if FRequest.ClassType = TISAPIRequest then
|
||||||
|
begin
|
||||||
|
Exit(hftISAPI);
|
||||||
|
end;
|
||||||
|
{$ENDIF}
|
||||||
|
Exit(hftIndy);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{ MVCFromBodyAttribute }
|
{ MVCFromBodyAttribute }
|
||||||
|
Loading…
Reference in New Issue
Block a user