97 lines
2.0 KiB
Plaintext
97 lines
2.0 KiB
Plaintext
[database]
|
|
|
|
; The name of the database vendor
|
|
;
|
|
; Note that your PHP binary will have to be compiled with
|
|
; the appropriate libraries if it isn't already.
|
|
;
|
|
; The default is "mysql".
|
|
;
|
|
; Possible values:
|
|
; mysql
|
|
; postgresql
|
|
; sqlite
|
|
vendor = mysql
|
|
|
|
; Connection details for connecting to the database
|
|
;
|
|
; Example configuration (default MySQL root user):
|
|
; host = localhost
|
|
; username = root
|
|
; password =
|
|
; port = 3306
|
|
host =
|
|
username =
|
|
password =
|
|
port =
|
|
|
|
; The name of the wiki database
|
|
;
|
|
; This will only need to be changed if you manually
|
|
; altered the name of the database.
|
|
;
|
|
; The default is "wiki".
|
|
database = wiki
|
|
|
|
[application]
|
|
|
|
; Toggles debug mode
|
|
;
|
|
; In debug mode, a display is shown after every page load
|
|
; with the following information:
|
|
; - page load time
|
|
; - all SQL queries
|
|
; - superglobal data ($_SERVER, $_POST, $_GET, $_REQUEST,
|
|
; $_COOKIE, $_SESSION)
|
|
; - wiki-related stuff, e.g. time elapsed to parse wikitext
|
|
; to HTML
|
|
; - uncaught exceptions bubble out
|
|
;
|
|
; The default is "off".
|
|
;
|
|
; Possible values:
|
|
; on
|
|
; off
|
|
debug = off
|
|
|
|
; Toggles logging
|
|
;
|
|
; The default is "off".
|
|
;
|
|
; Possible values:
|
|
; on
|
|
; off
|
|
logging = off
|
|
|
|
; Specifies the logging severity
|
|
;
|
|
; Severities:
|
|
; DEBUG - logs everything under the sun
|
|
; INFO - logs informational events (e.g. "Query on wiki.history
|
|
; returned 30 rows")
|
|
; WARNING - logs warnings (e.g. an uncaught exception)
|
|
; ERROR - logs page-crashing errors (e.g. "query on wiki.history
|
|
; failed: could not resolve hostname")
|
|
; DEATH - logs program-crashing errors (e.g. "cannot connect
|
|
; to database")
|
|
;
|
|
; The severities are a bitwise operation, so a WARNING severity
|
|
; logs WARNINGs, ERRORs and DEATHs.
|
|
;
|
|
; The default is "WARNING".
|
|
;
|
|
; Possible values:
|
|
; DEBUG
|
|
; INFO
|
|
; WARNING
|
|
; ERROR
|
|
; DEATH
|
|
logseverity = WARNING
|
|
|
|
; The directory in which to create the logs
|
|
;
|
|
; Obviously, apache needs read/write/execute permissions
|
|
; in this directory.
|
|
;
|
|
; The default is "./logs".
|
|
logdir = ./logs |