aboutsummaryrefslogtreecommitdiff
path: root/cgi/post.py
diff options
context:
space:
mode:
Diffstat (limited to 'cgi/post.py')
-rw-r--r--cgi/post.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cgi/post.py b/cgi/post.py
index 4d4c598..d129715 100644
--- a/cgi/post.py
+++ b/cgi/post.py
@@ -477,7 +477,7 @@ def regenerateThreadPage(postid):
if board['board_type'] in ['1', '5']:
template_filename = "txt_thread.html"
- outname = Settings.ROOT_DIR + board["dir"] + "/read/" + str(thread["timestamp"]) + ".html"
+ outname = Settings.ROOT_DIR + board["dir"] + "/res/" + str(thread["timestamp"]) + ".html"
title_matome = thread['subject']
post_preview = cut_home_msg(thread['posts'][0]['message'], 0)
else:
@@ -722,7 +722,7 @@ def deletePost(postid, password, deltype='0', imageonly=False, quick=False):
if post['parentid'] == '0':
if board['board_type'] == '1':
- os.unlink(Settings.ROOT_DIR + board["dir"] + "/read/" + post["timestamp"] + ".html")
+ os.unlink(Settings.ROOT_DIR + board["dir"] + "/res/" + post["timestamp"] + ".html")
else:
os.unlink(Settings.ROOT_DIR + board["dir"] + "/res/" + post["id"] + ".html")