From f3bf96a5afca42ff4b019268d231738b2526b5e4 Mon Sep 17 00:00:00 2001 From: tmont Date: Wed, 22 Oct 2008 06:35:58 +0000 Subject: [PATCH] added default configuration file --- src/lib/config/panacea.ini-default | 107 +++++++++++++++++++++++++++++ 1 file changed, 107 insertions(+) create mode 100644 src/lib/config/panacea.ini-default diff --git a/src/lib/config/panacea.ini-default b/src/lib/config/panacea.ini-default new file mode 100644 index 0000000..77d7229 --- /dev/null +++ b/src/lib/config/panacea.ini-default @@ -0,0 +1,107 @@ +[externals] + +; The path to the binary to use for diffs +; +; The default is "diff" and assumes the diff binary is +; available via your PATH environment variable +; +; Example: /usr/bin/diff +diff = diff + +[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 +; oracle +; 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 +; +; 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. "two people editing the same page") +; 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 \ No newline at end of file