aboutsummaryrefslogtreecommitdiffstats
path: root/blogthon.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'blogthon.cgi')
-rwxr-xr-xblogthon.cgi10
1 files changed, 9 insertions, 1 deletions
diff --git a/blogthon.cgi b/blogthon.cgi
index fe746fb..a648abe 100755
--- a/blogthon.cgi
+++ b/blogthon.cgi
@@ -12,6 +12,12 @@
# Pascal Turbing <pascal@turbing.de>
# Description: A simple blogging software
+# TODO:
+# * Complete Atom Feed (like RSS)
+# * Write documentation
+# * Fix send-comment bug when using lighttpd
+# * Fix broken charset in outgoing mails (needs some testing)
+
import cgi, os, time, glob, re, md5, sys, random, smtplib
import ConfigParser
@@ -56,9 +62,11 @@ def document_header(string):
configuration = ConfigParser.ConfigParser()
-# First look for ../blogthonrc and then for ./configuration
+# Look for a configuration:
if os.path.exists('../blogthonrc'):
configuration.read('../blogthonrc')
+elif os.path.exists('../.blogthonrc'):
+ configuration.read('../.blogthonrc')
elif os.path.exists('configuration'):
configuration.read('configuration')
else: