aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xblogthon.cgi6
-rw-r--r--configuration3
2 files changed, 5 insertions, 4 deletions
diff --git a/blogthon.cgi b/blogthon.cgi
index f883bea..215c7fd 100755
--- a/blogthon.cgi
+++ b/blogthon.cgi
@@ -16,13 +16,13 @@
# * Complete Atom Feed (like RSS)
# * Fix broken charset in outgoing mails (needs some testing)
-from ConfigParser import ConfigParser
import os
import sys
import time
import locale
import re
-import cgi
+from ConfigParser import ConfigParser
+from cgi import FieldStorage
from smtplib import SMTP
from md5 import new as newmd5
from glob import glob
@@ -173,7 +173,7 @@ try: feed_preview = configuration.get('feed', 'feed_preview')
except: errorpage('"feed_preview" is missing or empty in configuration!')
# Read POST Variables
-action = cgi.FieldStorage()
+action = FieldStorage()
month_display = action.getvalue('m')
static_display = action.getvalue('s')
diff --git a/configuration b/configuration
index 8f7a91e..b8eb7a3 100644
--- a/configuration
+++ b/configuration
@@ -16,7 +16,8 @@ staticpages: True
monthlist: True
linklist: True
permalinks: True
-comments: True
+comments: True
+comments_moderated: False
newest_first: True
[smtp]