dolibarr 24.0.0-beta
versionmod.inc.php
1<?php
2/* Copyright (C) 2026 Laurent Destailleur <eldy@users.sourceforge.net>
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 3 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <https://www.gnu.org/licenses/>.
16 */
17
24// The version of the POS system (Immutable Log system)
25// Can be 3.0.0-beta when not yet certified
26// 3.0.0 once certified
27define('DOLCERT_VERSION', '3.0.0-beta');
28
29
30// 1 was used for beta version candidate for certification, or for stable version that has been certified.
31// 2 to force LNE features for debug purposes (integrity of files will be broken). It just has one difference with 1: https is not required in this mode helping to work in development environment.
32// 0 was used for old version, for version not certified but compliant with the law by using an attestation of an IT provider that guarantee
33// the the software is compliant. WARNING: In this case, you must find an IT company that give you the attestation of conformity.
34if (!defined('CERTIF_LNE')) {
35 define('CERTIF_LNE', '2');
36}
37
38
39// Array of dir/files to include in the signature of the scope of the certification files.
40// This array will be used by the script: dev/buikd/generate_filelist_xml.php release=auto
41// to generate the filelist.xml file.
42$arrayofunalterablefiles = array(
43 //array('dir' => dirname(__FILE__).'/../../htdocs/', 'file' => 'version.inc.php'),
44 array('dir' => dirname(dirname(dirname(__FILE__))).'/htdocs/blockedlog', 'file' => 'all', 'regextoinclude' => '(\.php|\.sql)$', 'regextoexclude' => ''),
45 array('dir' => dirname(dirname(dirname(__FILE__))).'/htdocs/compta/cashcontrol/class', 'file' => 'cashcontrol.class.php'),
46 array('dir' => dirname(dirname(dirname(__FILE__))).'/htdocs/core/class', 'file' => 'all', 'regextoinclude' => '(interfaces.class.php|commontrigger.class.php)$', 'regextoexclude' => ''),
47 array('dir' => dirname(dirname(dirname(__FILE__))).'/htdocs/core/modules', 'file' => 'modBlockedLog.class.php'),
48 array('dir' => dirname(dirname(dirname(__FILE__))).'/htdocs/core/triggers', 'file' => 'interface_99_modBlockedlog_ActionsBlockedLog.class.php'),
49 array('dir' => dirname(dirname(dirname(__FILE__))).'/htdocs/install/mysql/tables', 'file' => 'all', 'regextoinclude' => 'llx_blockedlog.*(\.php|\.sql)$', 'regextoexclude' => ''),
50 array('dir' => dirname(dirname(dirname(__FILE__))).'/htdocs/takepos', 'file' => 'all', 'regextoinclude' => '(receipt|send.php).php')
51);