2009-08-25 16:01:43 +02:00
<?php
2012-01-07 23:57:42 +01:00
// Dolibarr example for conf.php file
//
// Do not edit this file without changing its name.
2022-09-26 19:57:07 +02:00
// This file is an example of empty config file for Dolibarr that can be used to create "conf.php".
2012-01-07 23:57:42 +01:00
//
2022-09-26 19:57:07 +02:00
// Warning: Be sure not to add line feed or spaces after closing php tag!
2012-01-07 23:57:42 +01:00
//###################
// Main parameters
//###################
// dolibarr_main_url_root
2022-09-26 19:57:07 +02:00
// ======================
2014-08-06 00:06:27 +02:00
// This parameter defines the root URL of your Dolibarr index.php page without ending "/".
2022-09-26 19:57:07 +02:00
// It must link to the directory htdocs
2018-07-26 11:57:25 +02:00
// In most cases, this is autodetected but it's still required
2013-09-18 17:59:57 +02:00
// * to show full url bookmarks for some services (ie: agenda rss export url, ...)
// * or when using Apache dir aliases (autodetect fails)
// * or when using nginx (autodetect fails)
2022-09-26 19:57:07 +02:00
//
2012-01-07 23:57:42 +01:00
// Examples:
// $dolibarr_main_url_root='http://localhost';
// $dolibarr_main_url_root='http://mydolibarrvirtualhost';
// $dolibarr_main_url_root='http://myserver/dolibarr/htdocs';
// $dolibarr_main_url_root='http://myserver/dolibarralias';
//
2010-04-04 11:23:31 +02:00
$dolibarr_main_url_root='';
2009-08-25 16:01:43 +02:00
2012-01-07 23:57:42 +01:00
// dolibarr_main_document_root
2022-09-26 19:57:07 +02:00
// ===========================
// This parameter contains absolute file system path of Dolibarr htdocs directory
//
2012-01-07 23:57:42 +01:00
// Examples:
// $dolibarr_main_document_root='/var/www/dolibarr/htdocs';
// $dolibarr_main_document_root='C:/My web sites/dolibarr/htdocs';
2023-11-20 20:39:40 +01:00
// $dolibarr_main_document_root=realpath(__DIR__.'/..');
2012-01-07 23:57:42 +01:00
//
2010-04-04 11:23:31 +02:00
$dolibarr_main_document_root='';
2009-08-25 16:01:43 +02:00
2012-01-07 23:57:42 +01:00
// dolibarr_main_url_root_alt
2022-09-26 19:57:07 +02:00
// ==========================
2013-07-15 00:58:40 +02:00
// This parameter defines the relative sub URLs to add to $dolibarr_main_url_root to
// forge alternative root directories (used by modules developers).
2023-11-20 20:39:40 +01:00
// You can put several values, separated by a comma, but number of entries must match
2013-07-15 00:58:40 +02:00
// number of entries into $dolibarr_main_document_root_alt.
2022-09-26 19:57:07 +02:00
//
2012-01-07 23:57:42 +01:00
// Examples:
2015-01-09 13:00:10 +01:00
// $dolibarr_main_url_root_alt='/custom';
2013-07-09 23:46:31 +02:00
// $dolibarr_main_url_root_alt='/extensions1,/extensions2';
2012-01-07 23:57:42 +01:00
//
2015-01-09 13:00:10 +01:00
//$dolibarr_main_url_root_alt='/custom';
2010-12-16 19:10:06 +01:00
2012-01-07 23:57:42 +01:00
// dolibarr_main_document_root_alt
2022-09-26 19:57:07 +02:00
// ===============================
// This parameter contains absolute alternative root file system directories (used by modules developers).
2023-11-20 20:39:40 +01:00
// You can put several values, separated by a comma, but number of entries must match
2013-07-15 00:58:40 +02:00
// number of entries into $dolibarr_main_url_root_alt.
2022-09-26 19:57:07 +02:00
//
2012-01-07 23:57:42 +01:00
// Examples:
2015-01-09 13:00:10 +01:00
// $dolibarr_main_document_root_alt='/var/www/dolibarr/htdocs/custom';
2013-07-07 03:33:10 +02:00
// $dolibarr_main_document_root_alt='C:/My web sites/dolibarr/htdocs/extensions1,C:/My web sites/dolibarr/htdocs/extensions2';
2012-01-07 23:57:42 +01:00
//
2015-01-09 13:00:10 +01:00
//$dolibarr_main_document_root_alt='/var/www/dolibarr/htdocs/custom';
2010-12-16 19:10:06 +01:00
2012-01-07 23:57:42 +01:00
// dolibarr_main_data_root
2022-09-26 19:57:07 +02:00
// =======================
2012-01-07 23:57:42 +01:00
// This parameter contains absolute file system directory of Dolibarr
// directory used to store uploaded and generated physical files.
2022-09-26 19:57:07 +02:00
//
2012-01-07 23:57:42 +01:00
// Examples:
// $dolibarr_main_data_root='/var/www/dolibarr/documents';
// $dolibarr_main_data_root='E:/My web sites/dolibarr/documents';
2023-11-20 20:39:40 +01:00
// $dolibarr_main_data_root=realpath(__DIR__.'/../../documents');
2012-01-07 23:57:42 +01:00
//
2010-04-04 11:23:31 +02:00
$dolibarr_main_data_root='';
2009-08-25 16:01:43 +02:00
2012-01-07 23:57:42 +01:00
// dolibarr_main_db_host
2022-09-26 19:57:07 +02:00
// =====================
// This parameter contains host name or ip address of Dolibarr database server.
//
2012-01-07 23:57:42 +01:00
// Examples:
// $dolibarr_main_db_host='localhost';
// $dolibarr_main_db_host='127.0.0.1';
// $dolibarr_main_db_host='192.168.0.10';
// $dolibarr_main_db_host='mysql.myserver.com';
//
2010-04-04 11:23:31 +02:00
$dolibarr_main_db_host='';
2009-08-25 16:01:43 +02:00
2012-01-07 23:57:42 +01:00
// dolibarr_main_db_port
2022-09-26 19:57:07 +02:00
// =====================
2012-01-07 23:57:42 +01:00
// This parameter contains the port of the Dolibarr database.
2022-09-26 19:57:07 +02:00
//
2012-01-07 23:57:42 +01:00
// Default value: none
// Examples:
// $dolibarr_main_db_host='3306';
//
2010-04-04 11:23:31 +02:00
$dolibarr_main_db_port='';
2009-08-25 16:01:43 +02:00
2012-01-07 23:57:42 +01:00
// dolibarr_main_db_name
2022-09-26 19:57:07 +02:00
// =====================
2012-01-07 23:57:42 +01:00
// This parameter contains name of Dolibarr database.
2022-09-26 19:57:07 +02:00
//
2012-01-07 23:57:42 +01:00
// Examples:
// $dolibarr_main_db_name='dolibarr';
// $dolibarr_main_db_name='mydatabase';
//
2010-04-04 11:23:31 +02:00
$dolibarr_main_db_name='';
2009-08-25 16:01:43 +02:00
2012-01-07 23:57:42 +01:00
// dolibarr_main_db_user
2022-09-26 19:57:07 +02:00
// =====================
// This parameter contains user name used to read and write into Dolibarr database.
//
2012-01-07 23:57:42 +01:00
// Examples:
// $dolibarr_main_db_user='admin';
// $dolibarr_main_db_user='dolibarruser';
//
2010-04-04 11:23:31 +02:00
$dolibarr_main_db_user='';
2009-08-25 16:01:43 +02:00
2012-01-07 23:57:42 +01:00
// dolibarr_main_db_pass
2022-09-26 19:57:07 +02:00
// =====================
// This parameter contains password used to read and write into Dolibarr database.
2024-03-18 17:27:06 +01:00
// If content is 'crypted:...', the password is encrypted/decrypted with dol_encode/dol_decode.
// If content is 'dolcrypt:...', the password is encrypted/decrypted with dolEncrypt/dolDecrypt.
2022-09-26 19:57:07 +02:00
//
2012-01-07 23:57:42 +01:00
// Examples:
// $dolibarr_main_db_pass='myadminpass';
// $dolibarr_main_db_pass='myuserpassword';
//
2010-04-04 11:23:31 +02:00
$dolibarr_main_db_pass='';
2009-08-25 16:01:43 +02:00
2012-01-07 23:57:42 +01:00
// dolibarr_main_db_type
2022-09-26 19:57:07 +02:00
// =====================
// This parameter contains the name of the driver used to access your Dolibarr database.
//
2012-01-07 23:57:42 +01:00
// Default value: none
2016-04-17 15:39:46 +02:00
// Possible values: mysqli, pgsql
2012-01-07 23:57:42 +01:00
// Examples:
// $dolibarr_main_db_type='mysqli';
// $dolibarr_main_db_type='pgsql';
//
2010-04-04 11:23:31 +02:00
$dolibarr_main_db_type='';
2009-08-25 16:01:43 +02:00
2012-01-07 23:57:42 +01:00
// dolibarr_main_db_character_set
2022-09-26 19:57:07 +02:00
// ==============================
2016-11-07 03:18:53 +01:00
// Database character set used to store data (forced during database creation. value of database is then used).
2022-09-26 19:57:07 +02:00
//
2012-01-07 23:57:42 +01:00
// Default value: depends on database driver
// Examples:
2012-02-18 15:07:20 +01:00
// dolibarr_main_db_character_set='utf8';
2024-03-18 17:27:06 +01:00
// dolibarr_main_db_character_set='utf8mb4';
2012-01-07 23:57:42 +01:00
//
2012-02-18 15:07:20 +01:00
$dolibarr_main_db_character_set='utf8';
2009-08-25 16:01:43 +02:00
2012-01-07 23:57:42 +01:00
// dolibarr_main_db_collation
2022-09-26 19:57:07 +02:00
// ==========================
2016-11-07 03:18:53 +01:00
// Database character set used to sort data (forced during database creation. value of database is then used).
2022-09-26 19:57:07 +02:00
//
2012-01-07 23:57:42 +01:00
// Default value: depends on database driver
// Examples:
2019-05-22 12:16:41 +02:00
// $dolibarr_main_db_collation='utf8_unicode_ci';
2012-01-07 23:57:42 +01:00
//
2016-11-07 01:53:34 +01:00
$dolibarr_main_db_collation='utf8_unicode_ci';
2009-08-25 16:01:43 +02:00
2021-07-09 19:34:17 +02:00
// dolibarr_main_db_readonly
2022-09-26 19:57:07 +02:00
// =========================
2023-11-20 20:39:40 +01:00
// Set this to 1 to have the application working in readonly mode. All SQL commands INSERT/UPDATE/DELETE/CREATE/ALTER/TRUNCATE/DROP will be disabled.
2021-07-09 19:34:17 +02:00
// Default value: 0
// Examples:
// $dolibarr_main_db_readonly='0';
//
$dolibarr_main_db_readonly=0;
2019-05-22 12:16:41 +02:00
// dolibarr_main_instance_unique_id
2022-09-26 19:57:07 +02:00
// ================================
2019-09-07 10:43:35 +02:00
// An secret ID that is unique for each installation.
2023-10-03 02:00:00 +02:00
// This value is also never visible and never propagated outside of Dolibarr, so it can be used as a salt / key for some encryption (For example to get
2022-09-11 22:45:02 +02:00
// a unique hashed key, application will hash the value concatenated with a string. Example: md5('dolibarr'+dolibarr_main_instance_unique_id)
// WARNING: Changing this value will also make some sensitive values encrypted in database wrong.
2019-05-22 12:16:41 +02:00
// Default value: randomly defined during installation
// Examples:
// $dolibarr_main_instance_unique_id='84b5bc91f83b56e458db71e0adac2b62';
//
$dolibarr_main_instance_unique_id='84b5bc91f83b56e458db71e0adac2b62';
2023-10-03 02:00:00 +02:00
// dolibarr_main_dolcrypt_key
// ==========================
// An secret key to encrypt/decrypt data with dolcrypt() method, for reversible encryption.
// This value is also never visible and never propagated outside of Dolibarr, it is used as key for the dolcrypt encryption.
// WARNING: Changing this value will also make some sensitive values encrypted in database wrong.
// Default value: ''. When not defined, the $dolibarr_main_instance_unique_id will be used instead.
// Examples:
// $dolibarr_main_dolcrypt_key='';
//
$dolibarr_main_dolcrypt_key='';
2010-03-30 23:35:00 +02:00
2012-01-07 23:57:42 +01:00
//##################
// Login
//##################
// dolibarr_main_authentication
2022-09-26 19:57:07 +02:00
// ============================
2012-01-07 23:57:42 +01:00
// This parameter contains the way authentication is done.
// If value "ldap" is used, you must also set parameters dolibarr_main_auth_ldap_*
2019-05-22 12:38:08 +02:00
// Default value: 'dolibarr'
2012-01-07 23:57:42 +01:00
// Possible values: Any values found in files in htdocs/core/login directory after
// the "function_" string and before the ".php" string. You can also separate several
2018-07-26 11:57:25 +02:00
// values using a ",". In this case, Dolibarr will check login/pass for each value in
2012-01-07 23:57:42 +01:00
// order defined into value. However, note that this can't work with all values.
// Examples:
2022-09-26 19:57:07 +02:00
// $dolibarr_main_authentication='dolibarr'; // Use the password defined into application on user file (default).
// $dolibarr_main_authentication='http'; // Use the HTTP Basic authentication
// $dolibarr_main_authentication='ldap'; // Check the password into a LDAP server
// $dolibarr_main_authentication='ldap,dolibarr'; // You can set several mode using a comma as a separator.
// $dolibarr_main_authentication='forceuser'; // This need to add also $dolibarr_auto_user='loginforuser';
// $dolibarr_main_authentication='twofactor'; // To use Google Authenticator. This need the non official external module "Two Factor" available on www.dolistore.com
2023-05-13 20:16:57 +02:00
// $dolibarr_main_authentication='openid_connect'; // See https://wiki.dolibarr.org/index.php?title=Authentication,_SSO_and_SSL
2023-05-14 03:07:09 +02:00
// $dolibarr_main_authentication='googleoauth'; // See https://wiki.dolibarr.org/index.php?title=Authentication,_SSO_and_SSL
2012-01-07 23:57:42 +01:00
//
2010-04-04 11:23:31 +02:00
$dolibarr_main_authentication='dolibarr';
2009-08-25 16:01:43 +02:00
2022-09-26 19:57:07 +02:00
// Parameters used to setup LDAP authentication
// --------------------------------------------
2012-01-07 23:57:42 +01:00
// Uncomment them if dolibarr_main_authentication = 'ldap'
//
2014-04-27 14:16:29 +02:00
// $dolibarr_main_auth_ldap_host='127.0.0.1'; // You can define several servers here separated with a comma.
// $dolibarr_main_auth_ldap_port='389'; // Port
2022-09-26 19:57:07 +02:00
// $dolibarr_main_auth_ldap_version='3'; // Version of LDAP
// $dolibarr_main_auth_ldap_servertype='openldap'; // openldap, activedirectory or egroupware
// $dolibarr_main_auth_ldap_login_attribute='loginfield'; // Ex: uid or samaccountname for active directory
2012-02-18 15:07:20 +01:00
// $dolibarr_main_auth_ldap_dn='ou=users,dc=my-domain,dc=com'; // Ex: ou=users,dc=my-domain,dc=com
2022-04-01 13:23:45 +02:00
// $dolibarr_main_auth_ldap_filter = ''; // If defined, the two previous parameters (dolibarr_main_auth_ldap_login_attribute and dolibarr_main_auth_ldap_dn) are not used to find a user into LDAP. Instead we use this search string. Ex: (uid=%1%) or &(uid=%1%)(isMemberOf=cn=Sales,ou=Groups,dc=opencsi,dc=com).
2022-09-26 19:57:07 +02:00
// $dolibarr_main_auth_ldap_admin_login=''; // Required only if anonymous bind disabled. Ex: cn=admin,dc=example,dc=com
// $dolibarr_main_auth_ldap_admin_pass=''; // Required only if anonymous bind disabled. Ex: secret
2012-01-07 23:57:42 +01:00
// $dolibarr_main_auth_ldap_debug='false';
2009-08-25 16:01:43 +02:00
2012-01-07 23:57:42 +01:00
// dolibarr_main_demo
// Login and pass to use in a demo mode
// Default value: ''
// Examples:
// $dolibarr_main_demo='autologin,autopass'
2009-08-25 16:01:43 +02:00
2010-03-30 23:35:00 +02:00
2012-01-07 23:57:42 +01:00
//##################
// Security
//##################
2010-03-30 23:35:00 +02:00
2012-01-07 23:57:42 +01:00
// dolibarr_main_force_https
2022-09-26 19:57:07 +02:00
// =========================
2015-02-21 10:00:31 +01:00
// This parameter allows to force the HTTPS mode.
2012-12-12 02:37:15 +01:00
// 0 = No forced redirect
2013-01-09 11:44:45 +01:00
// 1 = Force redirect to https, until SCRIPT_URI start with https into response
// 2 = Force redirect to https, until SERVER["HTTPS"] is 'on' into response
2020-03-22 01:59:32 +01:00
// 'https://my.domain.com' = Force redirect to https using this domain name.
2020-09-17 14:20:37 +02:00
// Warning: If you enable this parameter, your web server must be configured to respond URL with https protocol.
// According to your web server setup, some values may works and other not. Try different values (1,2 or 'https://my.domain.com') if you experience problems.
2023-11-20 20:39:40 +01:00
// Even if a redirect to HTTPS is forced by the webserver, it is recommended to set this value to another value than 0, so your session cookies will be
// flagged as secured.
2012-01-07 23:57:42 +01:00
// Default value: 0
2015-02-21 10:00:31 +01:00
// Possible values: 0, 1, 2 or 'https://my.domain.com'
2012-01-07 23:57:42 +01:00
// Examples:
2020-03-22 01:59:32 +01:00
// $dolibarr_main_force_https='1';
2012-01-07 23:57:42 +01:00
//
2010-04-04 11:23:31 +02:00
$dolibarr_main_force_https='0';
2010-03-30 23:35:00 +02:00
2016-06-25 15:16:32 +02:00
// dolibarr_main_prod
2022-09-26 19:57:07 +02:00
// ==================
2016-06-25 15:16:32 +02:00
// When this parameter is defined, all errors messages are not reported.
// This feature exists for production usage to avoid to give any information to hackers.
2020-09-17 14:20:37 +02:00
// Default value: 1
2016-06-25 15:16:32 +02:00
// Possible values: 0 or 1
// Examples:
2020-09-17 14:20:37 +02:00
// $dolibarr_main_prod='1';
2016-06-25 15:16:32 +02:00
//
2020-09-17 14:20:37 +02:00
$dolibarr_main_prod='1';
2016-06-25 15:16:32 +02:00
2022-09-26 19:57:07 +02:00
// dolibarr_main_restrict_os_commands
// ==================================
2016-06-25 15:16:32 +02:00
// To restrict commands you can execute by the backup feature, enter allowed command here.
// Note: If you can, defining permission on OS linux (using SELinux for example) may be a better choice.
2023-09-13 22:58:36 +02:00
// Default value: 'mysqldump, mysql, pg_dump, pgrestore, mariadb, mariadb-dump'
2016-06-25 15:16:32 +02:00
// Examples:
2016-06-25 15:27:16 +02:00
// $dolibarr_main_restrict_os_commands='mysqldump, /usr/local/bin/otherdumptool';
2016-06-25 15:16:32 +02:00
//
2023-09-13 22:58:36 +02:00
$dolibarr_main_restrict_os_commands='mysqldump, mysql, pg_dump, pgrestore, mariadb, mariadb-dump';
2016-06-25 15:16:32 +02:00
2022-09-26 19:57:07 +02:00
// dolibarr_main_restrict_ip
// =========================
2019-12-09 09:43:38 +01:00
// To restrict access to backoffice to some ip addresses only. Use a comma to separate values.
2018-02-15 19:49:50 +01:00
// Note: Pages that does not need login (like public pages, web site) are not protected with this.
// Default value: ''
// Examples:
2019-12-09 09:43:38 +01:00
// $dolibarr_main_restrict_ip='127.0.0.1, ::1, 192.168.0.1';
2018-02-15 19:49:50 +01:00
//
$dolibarr_main_restrict_ip='';
2012-01-07 23:57:42 +01:00
// dolibarr_nocsrfcheck
2022-09-26 19:57:07 +02:00
// ====================
2012-01-07 23:57:42 +01:00
// This parameter can be used to disable CSRF protection.
2020-09-17 14:20:37 +02:00
// This might be required if you access Dolibarr behind a proxy that make bad URL rewriting, to avoid false alarms.
// In most cases, you should always keep this to 0.
2012-01-07 23:57:42 +01:00
// Default value: 0
2024-01-11 10:07:06 +01:00
// Possible values: 0 or 1 (no strict CSRF test, only test on referrer) or 2 (no CSRF test at all)
2012-01-07 23:57:42 +01:00
// Examples:
// $dolibarr_nocsrfcheck='0';
//
2010-10-03 02:06:20 +02:00
$dolibarr_nocsrfcheck='0';
2010-03-30 23:35:00 +02:00
2020-09-17 14:20:37 +02:00
// dolibarr_cron_allow_cli
2022-09-26 19:57:07 +02:00
// =======================
2020-09-17 14:20:37 +02:00
// If set to 1, you will be able to define some command line in the internale Job scheduler module.
// Default value: '0'
// Examples: '1'
2021-12-07 17:39:28 +01:00
//
2020-09-17 14:20:37 +02:00
$dolibarr_cron_allow_cli='0';
2016-06-25 15:16:32 +02:00
// dolibarr_mailing_limit_sendbyweb
2022-09-26 19:57:07 +02:00
// ================================
2021-12-07 17:39:28 +01:00
// Can set a limit for mailing send by web. This overwrite database value. Can be used to restrict on system level.
2016-12-26 12:30:59 +01:00
// Default value: '25'
// Examples: '-1' (sending by web is forbidden)
2021-12-07 17:39:28 +01:00
//
2016-12-26 12:30:59 +01:00
// $dolibarr_mailing_limit_sendbyweb='25';
2009-08-25 16:01:43 +02:00
2016-12-26 12:30:59 +01:00
// dolibarr_mailing_limit_sendbycli
2022-09-26 19:57:07 +02:00
// ================================
2021-12-07 17:39:28 +01:00
// Can set a limit for mailing send by cli. This overwrite database value. Can be used to restrict on system level.
2016-12-26 12:30:59 +01:00
// Default value: '0' (no hard limit, use soft database value if exists)
// Examples: '-1' (sending by cli is forbidden)
2021-12-07 17:39:28 +01:00
//
2016-12-26 12:30:59 +01:00
// $dolibarr_mailing_limit_sendbycli='0';
2010-03-30 23:35:00 +02:00
2023-12-07 14:56:06 +01:00
// dolibarr_main_stream_to_disable
// ================================
// Can set a list of PHP stream to disable.
// Default value: array('compress.zlib', 'compress.bzip2', 'ftp', 'ftps', 'glob', 'data', 'expect', 'ogg', 'rar', 'zip', 'zlib')
// Examples: array('ftp', 'ftps')
//
// $dolibarr_main_stream_to_disable = array('compress.zlib', 'compress.bzip2', 'ftp', 'ftps', 'glob', 'data', 'expect', 'ogg', 'rar', 'zip', 'zlib');
2020-10-05 05:00:59 +02:00
// MAIN_ANTIVIRUS_COMMAND (as a constant)
2022-09-26 19:57:07 +02:00
// ======================
2020-10-05 05:00:59 +02:00
// Force a value for the antivirus command line tool so setup for admin user interface has no effect.
// Default value: ''
// Example: '/usr/bin/clamdscan';
// define('MAIN_ANTIVIRUS_COMMAND', '/usr/bin/clamdscan');
// MAIN_ANTIVIRUS_PARAM (as a constant)
2022-09-26 19:57:07 +02:00
// ====================
2020-10-05 05:00:59 +02:00
// Force a value for the antivirus parameters on command line so setup for admin user interface has no effect.
// Default value: ''
// Example: '--fdpass';
// define('MAIN_ANTIVIRUS_PARAM', '--fdpass');
2021-12-07 17:39:28 +01:00
// php_session_save_handler
2022-09-26 19:57:07 +02:00
// ========================
2021-12-07 17:39:28 +01:00
// Try to use the Dolibarr internal session handler that uses a database instead of the PHP handler (experimental).
// If you enable this feature to 'db', you may also want to enable the following constants:
// $dolibarr_session_db_type, $dolibarr_session_db_host, $dolibarr_session_db_user, $dolibarr_session_db_pass
// $dolibarr_session_db_pass, $dolibarr_session_db_name, $dolibarr_session_db_type = $dolibarr_main_db_port
// Default value: ''
// Example: 'db';
//
// $php_session_save_handler='';
2022-02-17 11:33:34 +01:00
// force_install_lockinstall
2022-09-26 19:57:07 +02:00
// =========================
2022-02-17 11:33:34 +01:00
// If this value is set to a value, it forces the creation of a file install.lock once an upgrade process into a new version end.
// The value is the octal value of permission to set on created file.
2023-12-07 14:56:06 +01:00
// The file install.lock prevents the use of the install and upgrade process another time. You will have to delete it manually for
// next install process or create a upgrade.unlock for next upgrade.
2022-02-17 11:33:34 +01:00
// Default value: '0'
// Example: '444';
// $force_install_lockinstall='440';
2021-12-07 17:39:28 +01:00
2010-10-03 02:05:45 +02:00
2012-01-07 23:57:42 +01:00
//##################
// Other
//##################
2012-09-05 10:38:48 +02:00
// dolibarr_main_db_prefix
2022-09-26 19:57:07 +02:00
// =======================
2023-11-20 20:39:40 +01:00
// This parameter contains prefix of Dolibarr database.
2022-09-26 19:57:07 +02:00
// Default value: 'llx_' if not defined
2012-09-05 10:38:48 +02:00
// Examples:
// $dolibarr_main_db_prefix='llx_';
2012-01-07 23:57:42 +01:00
// dolibarr_main_limit_users
2022-09-26 19:57:07 +02:00
// =========================
2012-01-07 23:57:42 +01:00
// Can set a limit on the number of users it will be possible to create
2012-02-18 15:07:20 +01:00
// (the superadmin not included). Can be used for a restricted mode.
2012-01-07 23:57:42 +01:00
// Default value: 0 (unlimited)
// Examples:
// $dolibarr_main_limit_users='0';
2012-09-05 10:38:48 +02:00
// dolibarr_strict_mode
2022-09-26 19:57:07 +02:00
// ====================
2012-09-05 10:38:48 +02:00
// Set this to 1 to enable the PHP strict mode. For dev environment only.
// Default value: 0 (use database value if exist)
// Examples:
// $dolibarr_strict_mode=0;
2021-11-28 19:25:58 +01:00
// dolibarr_allow_download_external_modules
2022-09-26 19:57:07 +02:00
// ========================================
2021-11-28 19:25:58 +01:00
// Provide a link to download the zip of an external modules installed into custom directory from the web admin.
// Default value: 0
// Examples:
// $dolibarr_allow_download_external_modules=0;
2013-01-09 11:44:45 +01:00
2012-01-07 23:57:42 +01:00
2012-02-18 15:07:20 +01:00
//#################################
// Path to external libraries/fonts
//#################################
2012-01-07 23:57:42 +01:00
// Value to overwrite path to use shared libraries instead of embedded one
2013-01-09 11:44:45 +01:00
//$dolibarr_lib_TCPDF_PATH='/usr/share/php/tcpdf';
2012-02-18 03:29:43 +01:00
//$dolibarr_lib_FPDI_PATH='/usr/share/php/fpdi';
2013-01-09 11:44:45 +01:00
//$dolibarr_lib_FPDF_PATH='/usr/share/php/fpdf';
2012-02-18 14:55:41 +01:00
//$dolibarr_lib_GEOIP_PATH='';
2012-01-07 23:57:42 +01:00
//$dolibarr_lib_NUSOAP_PATH='/usr/share/php/nusoap';
//$dolibarr_lib_ODTPHP_PATH='';
//$dolibarr_lib_ODTPHP_PATHTOPCLZIP="/usr/share/php/libphp-pclzip";
2022-09-26 19:57:07 +02:00
2012-01-14 02:06:05 +01:00
// Value to overwrite path to use shared javascript instead of embedded one
//$dolibarr_js_CKEDITOR='/javascript/ckeditor';
2012-02-18 14:55:41 +01:00
//$dolibarr_js_JQUERY='/javascript/jquery';
//$dolibarr_js_JQUERY_UI='/javascript/jquery-ui';
2022-09-26 19:57:07 +02:00
2012-01-07 23:57:42 +01:00
// Value to overwrite some path to use font instead of embedded one
//$dolibarr_font_DOL_DEFAULT_TTF="/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf";
//$dolibarr_font_DOL_DEFAULT_TTF_BOLD="/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf";
//##############################
2022-09-26 19:57:07 +02:00
// External modules
2012-01-07 23:57:42 +01:00
//##############################