#!/bin/sh
-CACHE_AGE=${CACHE_AGE:-1800}
+CACHE_AGE=${CACHE_AGE:-300}
export MD_MACROS="$_EXEC/macros"
export MD_HTML="${MD_HTML:-false}"
-export WIKI_THEME=${WIKI_THEME:-default}
-
-. "$_EXEC/themes/${WIKI_THEME}.sh"
wiki() {
# Print content of a wiki page
. "${_EXEC:-${0%/*}}/cgilite/cgilite.sh"
. "${_EXEC}/cgilite/session.sh"
-. "${_EXEC}/cgilite/file.sh"
. "${_EXEC}/cgilite/users.sh"
. "${_EXEC}/tools.sh"
. "${_EXEC}/acl.sh"
+WIKI_THEME="${WIKI_THEME:-default}"
+. "${_EXEC}/themes/${WIKI_THEME}.sh"
+
wiki_text() {
# Print source text of a wiki page
# Get page from data or underlay dir