Difference between revisions of "Config.php"
From TUTOS
Line 4: | Line 4: | ||
The config files currently reside in [tutoshome]/php/ which is not the best place and may change in the future. | The config files currently reside in [tutoshome]/php/ which is not the best place and may change in the future. | ||
+ | |||
+ | |||
+ | |||
+ | == Variables == | ||
+ | |||
+ | ==== dbname ==== | ||
+ | The name of the database | ||
+ | |||
+ | ==== dbhost ==== | ||
+ | The hostname of the server where the database is running. |
Revision as of 13:27, 14 December 2004
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.
Variables
dbname
The name of the database
dbhost
The hostname of the server where the database is running.