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