From af6f93cc1f0b99c7d2d0f651cd4d0c2328ad9f20 Mon Sep 17 00:00:00 2001 From: Stefan Ritter Date: Sun, 6 Dec 2009 20:35:52 +0100 Subject: Added '../.blogthonrc' as possible configuration, added TODO --- blogthon.cgi | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'blogthon.cgi') diff --git a/blogthon.cgi b/blogthon.cgi index fe746fb..a648abe 100755 --- a/blogthon.cgi +++ b/blogthon.cgi @@ -12,6 +12,12 @@ # Pascal Turbing # 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: -- cgit v1.2.3