Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:2.0:konfigurationsdatei_config.php [2017/01/03 10:54] – fasse | en:2.0:konfigurationsdatei_config.php [2024/05/31 10:51] (current) – fasse | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== Configuration file config.php ====== |
Like many other programs Admidio also provides a central configuration file, in which the most important settings are stored. You'll find the file in the folder **adm_my_files** (up to and including 2.4 Admidio the file was directly saved in the Admidio main folder). It is automatically created during the installation and stored there. Usually it is no longer necessary to open and edit. In rare cases, but this may still be necessary, for example, while moving the Admidio folder or to activate a more detailed logs. For this reason we want to give you an overview of the existing and possible settings in the file, as well as a explanation of each setting. | Like many other programs Admidio also provides a central configuration file, in which the most important settings are stored. You'll find the file in the folder **adm_my_files** (up to and including 2.4 Admidio the file was directly saved in the Admidio main folder). It is automatically created during the installation and stored there. Usually it is no longer necessary to open and edit. In rare cases, but this may still be necessary, for example, while moving the Admidio folder or to activate a more detailed logs. For this reason we want to give you an overview of the existing and possible settings in the file, as well as a explanation of each setting. | ||
Line 43: | Line 43: | ||
Possible values: https:// | Possible values: https:// | ||
- | Required version: '' | + | Required version: '' |
- | Deprecated: | + | |
==== $g_tbl_praefix ==== | ==== $g_tbl_praefix ==== | ||
Line 55: | Line 54: | ||
Any user, whether logged out or logged in, will have a unique session ID. This ID is passed on every page request. If a foreign person is now scanning the traffic between the computer and the server and gets access to this ID, he could assign with this session ID as current user. He therefore would has all the rights in the system that owns the original user. To prevent this abuse, Admidio compares additionally on every page request, the associated IP address to this session. If the IP address changes in between, so Admidio recognizes this as an invalid connection and closes the corresponding session. | Any user, whether logged out or logged in, will have a unique session ID. This ID is passed on every page request. If a foreign person is now scanning the traffic between the computer and the server and gets access to this ID, he could assign with this session ID as current user. He therefore would has all the rights in the system that owns the original user. To prevent this abuse, Admidio compares additionally on every page request, the associated IP address to this session. If the IP address changes in between, so Admidio recognizes this as an invalid connection and closes the corresponding session. | ||
- | This setting is always enabled and does not need to be explicitly set in config.php. | + | This setting is deactivated by default, as it can cause problems for users. For example, some users intentionally use services that regularly change the IP address. It can also happen that some providers |
- | Are there, however, some users having problems or some users are using deliberately | + | |
- | Possible values: '' | + | Possible values: '' |
Required version: '' | Required version: '' | ||
Line 64: | Line 62: | ||
Admidio supports in addition to MySQL also PostgreSQL databases. This variable specifies which database engine is to be used. | Admidio supports in addition to MySQL also PostgreSQL databases. This variable specifies which database engine is to be used. | ||
- | Possible values: '' | + | Possible values: '' |
Required version: '' | Required version: '' | ||
Line 77: | Line 75: | ||
* Uncompressed Javascript and CSS files are linked | * Uncompressed Javascript and CSS files are linked | ||
- | Possible values: '' | + | Possible values: '' |
Required version: '' | Required version: '' | ||
Line 83: | Line 81: | ||
This parameter is only ** ** intended for test systems and allows a [[en: | This parameter is only ** ** intended for test systems and allows a [[en: | ||
- | Possible values: '' | + | Possible values: '' |
Required version: '' | Required version: '' | ||
Line 89: | Line 87: | ||
This flag ensures that a database update can only be carried out on a new Admidio version, if an administrator has given his credentials in the update script. This function is always active in the default and can be disabled in the config.php via this parameter. For security reasons, we recommend that this feature should always be enabled. In a test systems it is useful to disable the function. | This flag ensures that a database update can only be carried out on a new Admidio version, if an administrator has given his credentials in the update script. This function is always active in the default and can be disabled in the config.php via this parameter. For security reasons, we recommend that this feature should always be enabled. In a test systems it is useful to disable the function. | ||
- | Possible values: '' | + | Possible values: '' |
Required version: '' | Required version: '' | ||
+ | |||
+ | ==== $gSetCookieForDomain ==== | ||
+ | This flag ensures that the cookie is valid for the entire domain where Admidio is installed. If Admidio is installed in the folder '' | ||
+ | |||
+ | Possible values: '' | ||
+ | Required version: '' | ||
+ | |||
==== $gPasswordHashAlgorithm ==== | ==== $gPasswordHashAlgorithm ==== | ||
- | Optionally, the encryption algorithm for the user passwords can be stored here. This should always point to '' | + | Optionally, the encryption algorithm for the user passwords can be stored here. This should always point to '' |
- | Possible values: '' | + | Possible values: '' |
Required version: '' | Required version: '' | ||
==== $gForceHTTPS ==== | ==== $gForceHTTPS ==== | ||
- | Optionally, a forwarding of HTTP calls to HTTPS calls can be set by Admidio. The default setting is '' | + | Admidio automatically recognizes whether communication is encrypted with https or not. In rare cases, this recognition does not work. In this case, you can tell Admidio |
Possible values: '' | Possible values: '' | ||
Required version: '' | Required version: '' | ||
+ | |||
+ | ==== $gDisableEmailSending ==== | ||
+ | Prevents all emails from being sent via the system. This includes both system notifications and emails created by users. This parameter should only be set in demo systems where the email interface should still be visible but the improper sending of emails should be prevented. Set this parameter to '' | ||
+ | |||
+ | Possible values: '' | ||
+ | Required version: '' | ||
==== $gTimezone ==== | ==== $gTimezone ==== |