-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Expand file tree
/
Copy pathinstall.forced.sample.php
More file actions
82 lines (61 loc) · 3.56 KB
/
install.forced.sample.php
File metadata and controls
82 lines (61 loc) · 3.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<?php
/* Copyright (C) 2016 Raphaël Doursenaud <[email protected]>
* Copyright (C) 2024 Yann Le Doaré <[email protected]>
* Copyright (C) 2025 Charlene Benke <[email protected]>
* Copyright (C) 2026 Frédéric France <[email protected]>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
/** @var string $force_install_distrib Set the way the installis done to "custom" value */
$force_install_distrib = 'custom';
/** @var boolean $force_install_nophpinfo Hide PHP information */
$force_install_nophpinfo = true;
/** @var int $force_install_noedit 1 = Lock and hide environment variables, 2 = Lock all set variables */
$force_install_noedit = 2;
/** @var string $force_install_message Information message to add on the page to setup parameters */
$force_install_message = 'Welcome to your Dolibarr install...';
/** @var ?string $force_install_main_data_root Data root absolute path (documents folder) */
$force_install_main_data_root = null;
/** @var boolean $force_install_mainforcehttps Force HTTPS */
$force_install_mainforcehttps = true;
/** @var string $force_install_database Database name */
$force_install_database = getenv('DOLI_DATABASE', true) ?: 'dolibarr';
/** @var string $force_install_type Database driver (mysql|mysqli|pgsql|mssql|sqlite|sqlite3) */
$force_install_type = 'mysqli';
/** @var string $force_install_dbserver Database server host */
$force_install_dbserver = getenv('DOLI_DB_SERVER', true) ?: 'localhost';
/** @var int $force_install_port Database server port */
$force_install_port = 3306;
/** @var string $force_install_prefix Database tables prefix */
$force_install_prefix = 'llx_';
/** @var bool $force_install_createdatabase Force database creation */
$force_install_createdatabase = getenv('DOLI_DB_CREATE', true) ? true : false;
/** @var string $force_install_databaselogin Database username */
$force_install_databaselogin = 'root';
/** @var string $force_install_databasepass Database password */
$force_install_databasepass = getenv('DOLI_DB_PASSWORD', true) ?: '';
/** @var bool $force_install_createuser Force database user creation */
$force_install_createuser = false;
/** @var string $force_install_dolibarrlogin Dolibarr administrator username */
$force_install_dolibarrlogin = 'admin';
/** @var string $force_install_dolibarrpassword Dolibarr administrator password */
$force_install_dolibarrpassword = '';
/** @var string $force_install_databaserootlogin Database root username */
$force_install_databaserootlogin = 'root';
/** @var string $force_install_databaserootpass Database root password */
$force_install_databaserootpass = getenv('DOLI_ROOT_PASSWORD', true) ?: '';
/** @var bool $force_install_lockinstall Force install locking */
$force_install_lockinstall = true;
/** @var string $force_install_module Enable module(s) (Comma separated class names list, example: modSociete,modFournisseur,modFacture) */
$force_install_module = '';