File: wiki.cgi

package info (click to toggle)
sputnik 12.06.27-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,900 kB
  • sloc: javascript: 6,955; sh: 762; python: 94; makefile: 42
file content (14 lines) | stat: -rw-r--r-- 317 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! /usr/bin/env lua5.1

require 'sputnik'

local conf = {
   -- required parameters, remember to make the wiki data directory
   -- writeable to the user that will run the web server (www-data)
   --
   VERSIUM_PARAMS = { '/var/www/wiki/data' },
   BASE_URL       = '/wiki',
}

return sputnik.new_wsapi_run_fn(conf)