Browse Source

* Set global CustomApplication variable

git-svn-id: trunk@14795 -
joost 15 years ago
parent
commit
ac7c145c04
1 changed files with 3 additions and 0 deletions
  1. 3 0
      packages/fcl-web/src/fpcgi.pp

+ 3 - 0
packages/fcl-web/src/fpcgi.pp

@@ -32,10 +32,13 @@ Var
   
   
 Implementation
 Implementation
 
 
+uses CustApp;
+
 Procedure InitCGI;
 Procedure InitCGI;
 
 
 begin
 begin
   Application:=TCGIApplication.Create(Nil);
   Application:=TCGIApplication.Create(Nil);
+  CustomApplication:=Application;
 end;
 end;
 
 
 Procedure DoneCGI;
 Procedure DoneCGI;