From e0e6079c9141a0c2d7d2a6dda50496e237bfc8bb Mon Sep 17 00:00:00 2001 From: hallgren Date: Tue, 2 Sep 2014 12:27:47 +0000 Subject: src/server: refactoring to isolate dependencies on the cgi/fastcgi packages * Introducing the module CGI, re-exporting a subset of the cgi package. It might complete replace the cgi package in the future. * Introducing the module CGIUtils, containing functions from FastCGIUtils that have nothing to do with fastcgi. Some low level hackery with unsafePerformIO and global variables was left in FastCGIUtils, but it is actually not used, neither for gf -server nor exec/pgf-fcgi.hs. --- src/server/ServeStaticFile.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/ServeStaticFile.hs') diff --git a/src/server/ServeStaticFile.hs b/src/server/ServeStaticFile.hs index 4e2dd96e0..9e3b8a19a 100644 --- a/src/server/ServeStaticFile.hs +++ b/src/server/ServeStaticFile.hs @@ -1,7 +1,7 @@ module ServeStaticFile where import System.FilePath import System.Directory(doesDirectoryExist) -import Network.CGI(setHeader,outputFPS,liftIO) +import CGI(setHeader,outputFPS,liftIO) import qualified Data.ByteString.Lazy.Char8 as BS serveStaticFile path = -- cgit v1.2.3