summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2024-05-11 21:58:13 +0800
committerRunxi Yu <me@runxiyu.org>2024-05-11 21:58:13 +0800
commitd43b80da6e6bd1e0a7c6cbf0b499806b27fc97b7 (patch)
treefdf8c5e3fa2cb10d541d33b15bc79e075ebc15c7
parent5f27c6ca2445ab8c0ec6baa4820acbcd42146f08 (diff)
downloadwww-d43b80da6e6bd1e0a7c6cbf0b499806b27fc97b7.tar.gz
hybrid.cgi: Use /srv/fb
-rwxr-xr-xhybrid.cgi5
1 files changed, 3 insertions, 2 deletions
diff --git a/hybrid.cgi b/hybrid.cgi
index dc4cb08..8fc7695 100755
--- a/hybrid.cgi
+++ b/hybrid.cgi
@@ -3,8 +3,9 @@
 import sys
 import os
 import cgi
-import cgitb
-cgitb.enable()
+import pathlib
+
+FBDIR="/srv/fb"
 
 CONTENT_LENGTH = os.environ["CONTENT_LENGTH"]
 CONTENT_TYPE = os.environ["CONTENT_TYPE"]