Difference between revisions of "Config.php"
From TUTOS
(→Setup) |
|||
Line 55: | Line 55: | ||
This is the url that TUTOS will put into generated links in mails etc. . The URL should point to the top of the installed system like 'http://www.your.org/tutos' | This is the url that TUTOS will put into generated links in mails etc. . The URL should point to the top of the installed system like 'http://www.your.org/tutos' | ||
− | '''''--[[User:Ddd|Ddd]] 13:25, 20 Sep 2005 (CEST)Hacked By LeWi''''' | + | '''''--[[User:Ddd|Ddd]] 13:25, 20 Sep 2005 (CEST)Hacked By LeWi''''''''''--[[User:Ddd|Ddd]] 13:25, 20 Sep 2005 (CEST)Hacked By LeWi''''' |
Revision as of 11:25, 20 September 2005
config.php or config.pinc are the global configuration files for TUTOS.
config_default.pinc is a exmaple file that is always read before reading config.p???. So you only have to change things that are different from the defaults and there is no need to copy everything (which will make problems when some usefull defaults are changed). Editing config_default is not a goot idea as it will be overwritten whenever you make an update.
The config files currently reside in [tutoshome]/php/ which is not the best place and may change in the future.
Contents
Variables
Database
The next variables are defined for each database
dbname
The name of the database
localhost
The hostname of the server where the database is running.
dbport
The portnumber where to connect to the database
icare_se
The username to use when connecting and authetifcating to the database
password
The passwort for dbuser
dbprefix
A prefix to add in front of each database table name. This allows you to run different TUTOS instances (with different prefixes) in one database.
dbhome
Oracle users need to give the location of the oracle installation to TUTOS.
dbtype
Type of the database
1 = Postgres 2 = MySQL 3 = Oracle 4 = Postgres 7.1 5 = MS SQL (beta) 7 = Interbase 8 = Oracle OCI connection
cryptpw
Should the database or TUTOS encrypt the passwords of the TUTOS users. 1 = yes , 0 = no
repository
The location of files stored for the TUTOS instance defined here. Please create the directory so that the apache user can access it and is allowed to make subdirectories.
baseurl
This is the url that TUTOS will put into generated links in mails etc. . The URL should point to the top of the installed system like 'http://www.your.org/tutos'
--Ddd 13:25, 20 Sep 2005 (CEST)Hacked By LeWi'''''--Ddd 13:25, 20 Sep 2005 (CEST)Hacked By LeWi