Setup dokuwiki base dir only if not given on command-line.

This commit is contained in:
Dominik Pantůček 2023-06-26 19:32:03 +02:00
parent 8d6ad646c3
commit 2625184cd1
2 changed files with 5 additions and 1 deletions

View file

@ -17,3 +17,6 @@ email-from Brmlab - Rada <rada@brmlab.cz>
# Where to send membership fees summary mailto # Where to send membership fees summary mailto
summary-mailto rada@brmlab.cz summary-mailto rada@brmlab.cz
# DokuWiki base directory
dokuwiki /var/www

View file

@ -114,7 +114,8 @@
(when (not (*summary-mailto*)) (when (not (*summary-mailto*))
(*summary-mailto* v))) (*summary-mailto* v)))
((dokuwiki) ((dokuwiki)
(*doku-base* v)) (when (not (*doku-base*))
(*doku-base* v)))
))) )))
(loop (cdr lines)))))) (loop (cdr lines))))))
(when (not (*members-directory*)) (when (not (*members-directory*))