mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-20 00:49:26 +01:00
* Added fphttpstatus to fpmake.pp
git-svn-id: trunk@40364 -
This commit is contained in:
parent
234d442f71
commit
db80944f47
@ -182,6 +182,11 @@ begin
|
||||
OSes:=[Win32,Win64];
|
||||
Dependencies.AddUnit('custhttpsys');
|
||||
end;
|
||||
with P.Targets.AddUnit('fphttpstatus.pas') do
|
||||
begin
|
||||
Dependencies.AddUnit('fphttpserver');
|
||||
Dependencies.AddUnit('HTTPDefs');
|
||||
end;
|
||||
T:=P.Targets.AddUnit('fcgigate.pp');
|
||||
T.ResourceStrings:=true;
|
||||
With T.Dependencies do
|
||||
|
||||
@ -171,13 +171,13 @@ begin
|
||||
HTTPEncode(ARequest.Connection.Server.AdminMail) +
|
||||
'">' +
|
||||
HTTPEncode(name) +
|
||||
'</a> Port ' + ARequest.ServerPort +
|
||||
'</a> Port ' + IntToStr(ARequest.ServerPort) +
|
||||
'</address>'
|
||||
else
|
||||
Result := prefix + '<address>' + ARequest.Connection.Server.ServerBanner +
|
||||
' Server at ' +
|
||||
ARequest.Connection.Server.AdminMail +
|
||||
' Port ' + ARequest.ServerPort +
|
||||
' Port ' + IntToStr(ARequest.ServerPort) +
|
||||
'</address>';
|
||||
end;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user