summaryrefslogtreecommitdiff
path: root/journal-admin.cgi
diff options
context:
space:
mode:
authorMatthias Benkard <code@mail.matthias.benkard.de>2007-10-05 15:24:00 +0200
committerMatthias Benkard <code@mail.matthias.benkard.de>2007-10-05 15:24:00 +0200
commite6b65cb7b6c16d1fb9ecb86260dddb1fc0c4b115 (patch)
tree71a11ce4bef2b308a34fb4fca0a169c7f651eedd /journal-admin.cgi
parent6f902003195726be98e6961111bcf0e9251a9023 (diff)
Support posting and editing journal entries.
darcs-hash:e7a6041bdeeddcd098313a6c21491cefbaedbb21
Diffstat (limited to 'journal-admin.cgi')
-rwxr-xr-xjournal-admin.cgi11
1 files changed, 11 insertions, 0 deletions
diff --git a/journal-admin.cgi b/journal-admin.cgi
new file mode 100755
index 0000000..10ac2f5
--- /dev/null
+++ b/journal-admin.cgi
@@ -0,0 +1,11 @@
+#! /bin/sh
+DIR=`dirname "$0"`
+if test -e /home/mulk; then
+ # MST-plus.
+ LISPINIT_DIR="$DIR"
+else
+ # NearlyFreeSpeech.NET.
+ LISPINIT_DIR=/home/protected/journal
+fi
+
+exec clisp -M "$LISPINIT_DIR/lispinit.mem.gz" "$DIR/run.lisp" --admin-mode