commit a86e7ebbb8285b54a1aaa3d3193443a67d6feed2
parent 2ee237702799d942f32d36fec3add03cd3ac79fd
Author: dankert <devnull@localhost>
Date: Sun, 2 May 2004 20:25:42 +0200
Allgemeiner Aufbau, Kommentare. Entfernen aller Test-Eintraege
Diffstat:
1 file changed, 150 insertions(+), 95 deletions(-)
diff --git a/doc/examples/config/config.ini.php b/doc/examples/config/config.ini.php
@@ -1,71 +1,92 @@
; <!-- $Id$ -->
; <?php exit('direct access denied') ?>
-[database]
-databases = TEST,CMSPROD,CMSLEER,FOEHR
-;databases = TEST
-
-
-[database_TEST]
-comment = "Testdatenbank MySQL"
-type = mysql
-user = cms
-password = horst
-host = :/var/run/mysqld/mysqld.sock
-database = cms
-prefix =
-persistent = yes
-
-[database_CMSLEER]
-comment = "Basis-DB MySQL"
-type = mysql
-user = cms
-password = horst
-host = :/var/run/mysqld/mysqld.sock
-database = cmsleer
-prefix =
-persistent = no
-
-
-[database_CMSPROD]
-comment = "Demo MySQL persistent"
-type = mysql
-user = cms
-password = horst
-host = 127.0.0.1
-database = cmsprod
-prefix =
-persistent = yes
-
-
-[database_FOEHR]
-comment = "CMS Wohnung auf Föhr"
-type = mysql
-user = cms
-password = horst
-host = :/var/run/mysqld/mysqld.sock
-database = wohnung_auf_foehr_de
-prefix =
-persistent = yes
-
-
+; This is the main configuration file for OpenRat
+; Lines beginnung with a semicolon are comments. Empty lines are ignored.
+; Quickstart:
+; Only change the database parameters in section [database_DB1]
-[auth]
-type=form
-[debug]
+; ===================================================================
+; Global database settings
+; ===================================================================
+[database]
-; This is a switch to switch on or off the debugging mode.
-; The debugging mode ist only useful for developers :-)
-; Default: 'false'
+; -------------------------------------------------------------------
+; You can set multiple database names here. Every database name need his own section (see below)
+databases = DB1
+;databases = DB1,DB2,ANOTHERDB
+; -------------------------------------------------------------------
+
+; -------------------------------------------------------------------
+; This database will be the default at login
+default = DB1
+; -------------------------------------------------------------------
+
+
+
+; ===================================================================
+; Example database connection
+; ===================================================================
+[database_DB1]
+
+; -------------------------------------------------------------------
+; add a short description of this connection
+comment = "My DB connection"
+; -------------------------------------------------------------------
+
+; -------------------------------------------------------------------
+; supported types are "mysql" and "postgresql"
+type = mysql;
+; -------------------------------------------------------------------
+
+; -------------------------------------------------------------------
+; database username and password
+user = dbuser
+password = dbpass
+; -------------------------------------------------------------------
+
+; -------------------------------------------------------------------
+; Hostname to connect to
+host = localhost
+;host = :/var/run/mysqld/mysqld.sock
+; -------------------------------------------------------------------
+
+; -------------------------------------------------------------------
+; Port to connect to (empty value will use the standard port)
+;port=
+; -------------------------------------------------------------------
+
+; -------------------------------------------------------------------
+; Store binary data base64-encoded. Slower, but more compatible.
+; Postgresql Users must set this to true!
+; If you set this to false (faster) be sure to use a BLOB field for
+; column value in table or_file
+base64 = true
+; -------------------------------------------------------------------
+
+; -------------------------------------------------------------------
+; logical database name
+database = cms
+; -------------------------------------------------------------------
-debug = true
+; -------------------------------------------------------------------
+;if you want more than one installation per database you can do this with a prefix
+prefix = or_
+; -------------------------------------------------------------------
+; -------------------------------------------------------------------
+; Use persistent connections. This is faster, so try using it.
+persistent = yes
+; -------------------------------------------------------------------
+; ===================================================================
+; LDAP Server Settings
+; ===================================================================
[ldap]
@@ -73,62 +94,63 @@ debug = true
; If you want to use this method, you simply set a LDAP-dn for that user
; Default: '' (blank)
-host = "172.19.12.19"
+host = "10.1.2.3"
port = "389";
-; External database for password checking
-; You only need this if you have your own password server!
-; Default: '' (blank)
-; UNDER DEVELOPMENT!
-
-[auth_database]
+; ===================================================================
+; FTP Settings
+; ===================================================================
+[ftp]
-dsn = "mysql://cms:horst@127.0.0.1/cms"
-db_sql = "select * from tablexy where user={user} and password={pw}"
+; -------------------------------------------------------------------
+asciimode = html,htm,php
+; -------------------------------------------------------------------
-[ftp]
-asciimode = html,htm,php
+; ===================================================================
+; Global Settings
+; ===================================================================
[global]
-; needs the 2-letter ISO-Countrycode
+; -------------------------------------------------------------------
+; The default language which is used, if the requested language from
+; the user agent is not available.
+; Needs the 2-letter ISO-Countrycode
+; -------------------------------------------------------------------
default_language = de
+; -------------------------------------------------------------------
-; ---------------------------------------------------------------------
+; -------------------------------------------------------------------
; The title displayed in the title bar of your browser.
; Maybe you like to change it to something more friendly :-)
-
-
-
title = "OpenRat"
-version = "0.1 cvs"
-; ---------------------------------------------------------------------
+version = "0.3"
+; -------------------------------------------------------------------
-; ---------------------------------------------------------------------
+; -------------------------------------------------------------------
; The php file extension which is used on your server.
; Default: php
-; ---------------------------------------------------------------------
+; -------------------------------------------------------------------
ext = php
-; ---------------------------------------------------------------------
+; -------------------------------------------------------------------
-
-; ---------------------------------------------------------------------
+; -------------------------------------------------------------------
; Width of the left Tree
-; ---------------------------------------------------------------------
+; -------------------------------------------------------------------
;tree_width = "250"
tree_width = "25%"
-; ---------------------------------------------------------------------
+; -------------------------------------------------------------------
-; ---------------------------------------------------------------------
+; ===================================================================
; Directories
-; ---------------------------------------------------------------------
+; ===================================================================
[directories]
@@ -136,26 +158,52 @@ datadir = "./data"
incldir = "./functions"
themedir = "./themes/default"
languagedir = "./language"
-plugindir = "./plugins"
tmpdir = "./tmp"
+; ===================================================================
+; Logfile
+; ===================================================================
+
[log]
+; -------------------------------------------------------------------
+; log-level can be one of the following
+; - debug: Show all messages
+; - info: Show informational messages
+; - warn: Show warnings
+; - error: Show only errors
+; -------------------------------------------------------------------
level = "debug"
+; -------------------------------------------------------------------
+
file = "./log/cms.log"
+; -------------------------------------------------------------------
+; date_format is parameter for PHP-function date()
+; -------------------------------------------------------------------
+date_format = "M j H:i:s"
+; -------------------------------------------------------------------
+
+; -------------------------------------------------------------------
+; Whether to do DNS lookups for logfile entries
+; A setting of true can slow down the system.
+; -------------------------------------------------------------------
+dns_lookup = false
+; -------------------------------------------------------------------
+
+; -------------------------------------------------------------------
; %user = username
-; %host = host
+; %host = remote host
; %time = time
; %level = facility
; %agent = browser string
-; %action = the message
-
-; date_format is parameter for PHP-function date()
-date_format = "M j H:i:s"
-dns_lookup = true
-format = "%time %host %user %level %action '%agent'"
+; %action = the actual action mode
+; %text = the message
+; -------------------------------------------------------------------
+format = "%time %level %host %user %action %text"
+;format = "%time %host %user %level %action '%text' '%agent'"
+; -------------------------------------------------------------------
; ---------------------------------------------------------------------
@@ -163,17 +211,24 @@ format = "%time %host %user %level %action '%agent'"
; ---------------------------------------------------------------------
[gd]
+; -------------------------------------------------------------------
; is GD installed (with GD you can use dynamic resizing of images)
+; -------------------------------------------------------------------
gd = yes
+; -------------------------------------------------------------------
+; -------------------------------------------------------------------
; Version of GD ( set to 1 or 2 )
; GD version 2 allows you to use TrueColor Images
-version = 2
+; -------------------------------------------------------------------
+version2 = true
+; -------------------------------------------------------------------
+; -------------------------------------------------------------------
; if using GD, which Image-Types are supported (seperated by commas)
+; -------------------------------------------------------------------
extension = jpeg,jpg,png
+; -------------------------------------------------------------------
-
-; Thats it :-)
-; Have a lovely day-
\ No newline at end of file
+; END OF DOCUMENT+
\ No newline at end of file