dolibarr 23.0.3
install.forced.sample.php
1<?php
2/* Copyright (C) 2016 Raphaël Doursenaud <rdoursenaud@gpcsolutions.fr>
3 * Copyright (C) 2024 Yann Le Doaré <services@linuxconsole.org>
4 * Copyright (C) 2025 Charlene Benke <charlene@patas-monkey.com>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see <https://www.gnu.org/licenses/>.
18 */
19
21$force_install_distrib = 'custom';
22
24$force_install_nophpinfo = true;
25
27$force_install_noedit = 2;
28
30$force_install_message = 'Welcome to your Dolibarr install...';
31
33$force_install_main_data_root = null;
34
36$force_install_mainforcehttps = true;
37
39$force_install_database = getenv('DOLI_DATABASE', true) ?: 'dolibarr';
40
42$force_install_type = 'mysqli';
43
45$force_install_dbserver = getenv('DOLI_DB_SERVER', true) ?: 'localhost';
46
48$force_install_port = 3306;
49
51$force_install_prefix = 'llx_';
52
54$force_install_createdatabase = getenv('DOLI_DB_CREATE', true) ? true : false;
55
57$force_install_databaselogin = 'root';
58
60$force_install_databasepass = getenv('DOLI_DB_PASSWORD', true) ?: '';
61
63$force_install_createuser = false;
64
66$force_install_dolibarrlogin = 'admin';
67
69$force_install_dolibarrpassword = '';
70
72$force_install_databaserootlogin = 'root';
73
75$force_install_databaserootpass = getenv('DOLI_ROOT_PASSWORD', true) ?: '';
76
78$force_install_lockinstall = true;
79
81$force_install_module = '';