Commits

Luke Plant  committed 9cfa853

Updated live settings file.

  • Participants
  • Parent commits cc49a54

Comments (0)

Files changed (2)

         HStringTemplate >= 0.6.1,
         text >= 0.3,
         feed >= 0.3.7,
-        time >= 1.1.3,
+        time >= 1.1.2,
         xml >= 1.3.4,
         ella >= 0.1.2
   Main-is: BlogCgi.hs

File src/Blog/settingslive.hs

 module Blog.Settings where
 
-sqlite_path = "/home/lukeplantuk/public_html/cgi-bin/data/test1.db"
+cgi_root_path = "/home/lukeplantuk/public_html/cgi-bin/"
+sqlite_path = cgi_root_path ++ "/data/test1.db"
+template_path = cgi_root_path ++ "/data/blogtemplates/"
 
+root_url = "/blog/"
+prog_uri = "/cgi-bin/blog.cgi" -- Used for redirecting
+blog_author_name = "luke"
+reserved_names = [blog_author_name]
+admin_usernames = [blog_author_name]
+
+post_page_size = 20 :: Int
+admin_post_page_size = 100 :: Int
+feed_post_page_size = 20 :: Int
+feed_comment_page_size = 20 :: Int
+domain = "lukeplant.me.uk"
+absolute_root = "http://" ++ domain
+
+secret = undefined -- must be changed before building
+
+max_comment_message_size = 5000 :: Int
+max_comment_name_size = 100 :: Int
+max_comment_email_size = 320 :: Int
+
+-- Testing
+testdb_sqlite_path = "/home/build/build/haskellblog/testsuite/test.db"
+
+-- Migration time settings:
+
+-- Not needed for live
+old_data_path = undefined
+redirect_file_template = undefined
+redirect_file_output = undefined
+syndication_redirect_file_template = undefined
+syndication_redirect_file_output = undefined