This commit is contained in:
daniele.teti 2014-12-18 13:41:04 +00:00
parent 103bb2ab3b
commit 5a64d94e53

View File

@ -1025,8 +1025,8 @@ end;
procedure TMVCEngine.LoadSystemControllers; procedure TMVCEngine.LoadSystemControllers;
begin begin
// AddController(TMVCStaticContents); //--daniele Static files are not handled directly by the router if Config[TMVCConfigKey.Messaging].Equals('true') then
AddController(TMVCBUSController); AddController(TMVCBUSController);
end; end;
procedure TMVCEngine.OnBeforeDispatch(Sender: TObject; Request: TWebRequest; procedure TMVCEngine.OnBeforeDispatch(Sender: TObject; Request: TWebRequest;
@ -2091,6 +2091,7 @@ end;
{ TMVCApacheWebRequest } { TMVCApacheWebRequest }
{$IF CompilerVersion >= 27} {$IF CompilerVersion >= 27}
function TMVCApacheWebRequest.ClientIP: string; function TMVCApacheWebRequest.ClientIP: string;
begin begin
raise EMVCException.Create('<TMVCApacheWebRequest.ClientIP> Not implemented'); raise EMVCException.Create('<TMVCApacheWebRequest.ClientIP> Not implemented');
@ -2429,6 +2430,7 @@ end;
{$IFDEF IOCP} {$IFDEF IOCP}
constructor TMVCIOCPWebRequest.Create(AWebRequest: TWebRequest); constructor TMVCIOCPWebRequest.Create(AWebRequest: TWebRequest);
begin begin
inherited; inherited;