dolibarr 24.0.0-beta
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 * Copyright (C) 2026 Frédéric France <frederic.france@free.fr>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program. If not, see <https://www.gnu.org/licenses/>.
19 */
20
22$force_install_distrib = 'custom';
23
25$force_install_nophpinfo = true;
26
28$force_install_noedit = 2;
29
31$force_install_message = 'Welcome to your Dolibarr install...';
32
34$force_install_main_data_root = null;
35
37$force_install_mainforcehttps = true;
38
40$force_install_database = getenv('DOLI_DATABASE', true) ?: 'dolibarr';
41
43$force_install_type = 'mysqli';
44
46$force_install_dbserver = getenv('DOLI_DB_SERVER', true) ?: 'localhost';
47
49$force_install_port = 3306;
50
52$force_install_prefix = 'llx_';
53
55$force_install_createdatabase = getenv('DOLI_DB_CREATE', true) ? true : false;
56
58$force_install_databaselogin = 'root';
59
61$force_install_databasepass = getenv('DOLI_DB_PASSWORD', true) ?: '';
62
64$force_install_createuser = false;
65
67$force_install_dolibarrlogin = 'admin';
68
70$force_install_dolibarrpassword = '';
71
73$force_install_databaserootlogin = 'root';
74
76$force_install_databaserootpass = getenv('DOLI_ROOT_PASSWORD', true) ?: '';
77
79$force_install_lockinstall = true;
80
82$force_install_module = '';