aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Ritter <xeno@thehappy.de>2012-01-27 18:15:50 +0100
committerStefan Ritter <xeno@thehappy.de>2012-01-27 18:15:50 +0100
commit1bd24c2d5beae522f02fcef95973548a843a0431 (patch)
tree04335ef0686636f922497bd231e5ea76fd2c2427
parent43a8d039ab2400042f0644eea87b63478a0f142d (diff)
Bugfix for tags
-rwxr-xr-xblogthon.cgi3
1 files changed, 3 insertions, 0 deletions
diff --git a/blogthon.cgi b/blogthon.cgi
index c6fd6ee..ce5e5c5 100755
--- a/blogthon.cgi
+++ b/blogthon.cgi
@@ -152,6 +152,9 @@ if not os.path.exists(plugins_dir):
if not os.path.exists("linklist"):
errorpage("File \"linklist\" does not exist!")
+if not os.path.exists(os.path.join(entries_dir, 'tags')) and tags == "True":
+ errorpage("You have to initialize your tags with <i>./blogthon.cgi -t</i> first!")
+
if language == "de":
blog_locale = (
"Seiten",