Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
en:2.0:konfigurationsdatei_config.php [2017/01/03 10:54] fasseen:2.0:konfigurationsdatei_config.php [2024/02/11 08:09] fasse
Line 1: Line 1:
-====== The Configuration file config.php ======+====== 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://www.admidio.org/demo or the URL to your Admidio installation\\  Possible values: https://www.admidio.org/demo or the URL to your Admidio installation\\ 
-Required version: ''**from 1.0**''\\ ​ +Required version: ''**from 1.0**''
-Deprecated:​ ''​**from 3.2**''+
  
 ==== $g_tbl_praefix ==== ==== $g_tbl_praefix ====
Line 64: Line 63:
 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: ''**mysql**'' or ''**postgresql**''\\ +Possible values: ''**mysql**'' or ''**pgsql**''\\ 
 Required version: ''**from 2.3**'' Required version: ''**from 2.3**''
  
Line 91: Line 90:
 Possible values: ''**0**'' (disabled) or ''**1**'' (enabled)\\  Possible values: ''**0**'' (disabled) or ''**1**'' (enabled)\\ 
 Required version: ''**from 3.0**'' Required version: ''**from 3.0**''
 +
 +==== $gSetCookieForDomain ====
 +This flag ensures that the cookie is valid for the entire domain where Admidio is installed. If Admidio is installed in the folder ''www.meine-domain.org/admidio'', for security reasons the default cookie is only available for scripts located in the folder ''www.my-domain.org/admidio'' or below. Scripts at ''www.meine-domain.org'' or ''www.my-domain.org/test'' can not read the cookie. If you want to use a script to log in to Admidio in another folder, you must activate this flag.
 +
 +Possible values: ''**0**'' (disabled) or ''**1**'' (enabled)\\ 
 +Required version: ''**from 3.2.11**''
 +
  
 ==== $gPasswordHashAlgorithm ==== ==== $gPasswordHashAlgorithm ====
-Optionally, the encryption algorithm for the user passwords can be stored here. This should always point to '' DEFAULT ''. Then the best algorithm, supported by all current PHP installations, is taken. ''SHA512'' is not automatically available on all servers, so this option should only be selected if it is ensured that the Admidio version will always run on a server that supports this encryption.+Optionally, the encryption algorithm for the user passwords can be stored here. This should always point to '' DEFAULT ''. Then the best algorithm, supported by all current PHP installations, is taken. ''SHA512'' is not automatically available on all servers, so this option should only be selected if it is ensured that the Admidio version will always run on a server that supports this encryption. The encodings ''ARGON2ID'' and ''ARGON2I'' are only available from Admidio 4
  
-Possible values: ''​DEFAULT'',​ ''​BCRYPT'',​ ''​SHA512''​\\ ​+Possible values: ''​DEFAULT'',​ ''​BCRYPT'',​ ''​SHA512'', ''ARGON2ID'', ''ARGON2I''​\\ ​
 Required version: ''​**from 3.2**'' Required version: ''​**from 3.2**''
  
 ==== $gForceHTTPS ==== ==== $gForceHTTPS ====
-Optionallya forwarding of HTTP calls to HTTPS calls can be set by Admidio. The default setting is ''false''.+Admidio automatically recognizes whether communication is encrypted with https or not. In rare casesthis recognition does not work. In this case, you can tell Admidio that the connection should always be encrypted. Set this parameter to ''true''. The default setting is ''false'' if not set.
  
 Possible values: ''​true'',​ ''​false''​\\ ​ Possible values: ''​true'',​ ''​false''​\\ ​
  • en/2.0/konfigurationsdatei_config.php.txt
  • Last modified: 2024/02/11 08:21
  • by fasse