## /configuration.sample.php

Description

Clubdata Administration Modules

Contains classes to administer Clubdata.

- author: Franz Domes <franz.domes@gmx.de>
- version: $Revision: 1.4 $
- copyright: Copyright (c) 2009, Franz Domes
- license: GNU Public License

Constants
ADODB_DIR = "{{$_SERVER['DOCUMENT_ROOT']}/Clubdata2/Tools/adodb/" (line 64)

Defines Path ADODB library

If you don't have the following tools in a path defined by include_dir in php.ini, you have to set the correct paths here ! The paths here are valid for the complete installation of Clubdata (the tools are installed in the subdirectoy Tools)
The directories MUST end by a slash !!

ALLOWED_UPLOAD_TYPES = "image/jpeg,image/pjpeg,image/png,image/gif,application/pdf" (line 136)

Mime-types of allowed uploads, separated by comma WITHOUT spaces

BACKUPDIR = "/tmp" (line 118)

Path to store backup files on the server

If you plan to store backup files of Clubdata V2 on the server, you must set the path to a directory which can be written by the webserver For security reasons, this path should not be directly accessible via a browser, so it should be located outside of $SERVER['DOCUMENT_ROOT']

CHARACTER_ENCODING = "UTF8" (line 205)

Define character set used

Be carefull when changing this parameter. When you upgrade from an old version, you should leave it at ISO-8859-1, else you can set it to UTF8. Make sure you have created the database by using the correct configuration files

DB_HOST = "localhost" (line 157)

define database server

DB_NAME = "Clubdata2" (line 162)

define name of clubdata database

DB_PASSWD = "cluba" (line 172)

define password of database user

DB_TABLEPREFIX = "cd_" (line 177)

Prefix for database tables. All tables will begin by this prefix

DB_TYPE = "mysql" (line 152)

define type of database (only mysql at the moment)

DB_USER = "clubdata2" (line 167)

define name of database user

DEBUG = 0 (line 224)

Constant, defining debug mode, value bit coded

0000 = (0) = no debugging, 0001 = (1) = debug to screen 0010 = (2) = debug to file (@see DEBUGFILE)

DEBUGCLASSES = "MAIN,ADDRESSES,LIST,DBTABLE,FORMS,MEMBERINFO,M_PAYMENTS,M_FEES,M_ADMIN,M_JOBS,M_SEARCH,M_MEMBER,M_MAIL,M_QUERIES,M_HELP,M_LIST,CDDB,M_CONFERENCES" (line 266)

Constant, defining classes to debug:

MAIN debug main functions (like index.php)
ADDRESSES debug class addresses
LIST debug list
DBLIST debug class DBList
AUTH debug authentication
SMARTY SMARTY classes
DBTABLE debug class DBTABLE
FORMS debug formsgeneration class
MEMBERINFO debug class memberinfo
M_PAYMENTS debug module (and class) payments
M_FEES debug module (and class) fees
M_ADMIN debug module (and class) Admin
M_JOBS debug module (and class) Jobs
M_SEARCH debug module (and class) search
M_MEMBER debug module (and class) member
M_MAIL debug module (and class) mail
M_QUERIES debug module (and class) query
M_HELP debug module (and class) help
M_LIST debug module (and class) list
CDDB Clubdata Database interface
M_CONFERENCES debug module (and class) conferences

DEBUGFILE = "{{$_SERVER['DOCUMENT_ROOT']}/Clubdata2/tmp/clubdata.log" (line 234)

Constant, defining Name of debugging file

DEFAULT_LANGUAGE = "UK" (line 185)

Predefine default language.

This language will be used before a user logs in and as standard language where a language can be selected Possible values: UK, DE, FR (and any other languages defined in Clubdata2/Language/)

DEMOMODE = false (line 213)

True of DemoModus should be used, false for normal use

DEST_HTTP_DIR = 'logos/' (line 126)

Path to store uploaded pictures

Where to store uploaded pictures
This directory is relative to LINKROOT and must exist and must be writeable by the webserver

FORMSGENERATION_DIR = "{{$_SERVER['DOCUMENT_ROOT']}/Clubdata2/Tools/formsgeneration/" (line 97)

Defines Path FORMSGENERATION library

If you don't have the following tools in a path defined by include_dir in php.ini, you have to set the correct paths here ! The paths here are valid for the complete installation of Clubdata (the tools are installed in the subdirectoy Tools)
The directories MUST end by a slash !!

INDEX_PHP = "index.php" (line 107)

Name of index.php file.

Normally it should be called index.php but sometimes the provider needs the extension .php5 to use PHP Version 5 (needed by Clubdata) In this case you can rename index.php to index.php5 and change the constant INDEX_PHP to index.php5

LINKROOT = "/Clubdata2" (line 53)

Defines the root of Clubdata2-Skripts relative to DOCUMENT_ROOT (or SCRIPTROOT)

Defines how to access Clubdata via the Browser. LINKROOT is the directory relativ to your home directory of your homepage and should start with a slash (or backslash on Windows systems)

MAXTHUMBNAILHEIGHT = "150" (line 142)

Height of thumnails created from uploaded images

MAXTHUMBNAILWIDTH = "150" (line 147)

Height of thumnails created from uploaded images

MAX_SIZE_LIMIT = "500000" (line 131)

Maximum size of an upload in bytes

PHP2EXCEL_DIR = "{{$_SERVER['DOCUMENT_ROOT']}/Clubdata2/Tools/php2excel/" (line 75)

Defines Path PHP2EXCEL library

If you don't have the following tools in a path defined by include_dir in php.ini, you have to set the correct paths here ! The paths here are valid for the complete installation of Clubdata (the tools are installed in the subdirectoy Tools)
The directories MUST end by a slash !!

SERVER_SYSTEM_TYPE = "UNIX" (line 194)

Define system type: UNIX or WINDOWS

This defines the type of your system where Clubdata runs. Path separators and directoy separators will be choosen depending on the value. Allowed values: UNIX and WINDOWS

SMARTY_DEBUGGING = false (line 239)

Constant, defining debugging of Smarty (true or false)

SMARTY_DIR = "{{$_SERVER['DOCUMENT_ROOT']}/Clubdata2/Tools/Smarty-2.6.30/libs/" (line 86)

Defines Path SMARTY library

If you don't have the following tools in a path defined by include_dir in php.ini, you have to set the correct paths here ! The paths here are valid for the complete installation of Clubdata (the tools are installed in the subdirectoy Tools)
The directories MUST end by a slash !!

SQLDEBUG = true (line 229)

Constant, defining SQL debug mode (true, or false)

Documentation generated on Sat, 01 Jan 2011 22:23:42 +0100 by phpDocumentor 1.4.3