mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 01:28:19 +01:00
WIP LNE
This commit is contained in:
@@ -32,7 +32,10 @@
|
||||
* \brief File that include the conf.php file and commons lib like functions.lib.php
|
||||
*/
|
||||
|
||||
require_once 'version.inc.php';
|
||||
|
||||
define('DOL_MINOR_VERSION', '0.0-alpha');
|
||||
|
||||
require_once 'version.inc.php'; // Define the DOL_VERSION
|
||||
|
||||
|
||||
// Define syslog constants
|
||||
@@ -50,6 +53,11 @@ if (!defined('LOG_DEBUG')) {
|
||||
}
|
||||
}
|
||||
|
||||
// End of common declaration part
|
||||
if (defined('DOL_INC_FOR_VERSION_ERROR')) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Replace session_start()
|
||||
|
||||
@@ -30,7 +30,10 @@
|
||||
*/
|
||||
|
||||
// Just to define version DOL_VERSION
|
||||
require_once '../version.inc.php';
|
||||
if (!defined('DOL_INC_FOR_VERSION_ERROR')) {
|
||||
define('DOL_INC_FOR_VERSION_ERROR', '1');
|
||||
}
|
||||
require_once '../filefunc.inc.php';
|
||||
|
||||
|
||||
// Define DOL_DOCUMENT_ROOT used for install/upgrade process
|
||||
|
||||
@@ -35,14 +35,12 @@
|
||||
if (!defined('DOL_APPLICATION_TITLE')) {
|
||||
define('DOL_APPLICATION_TITLE', 'Dolibarr');
|
||||
}
|
||||
if (!defined('DOL_VERSION')) {
|
||||
define('DOL_VERSION', '23.0.0-alpha'); // a.b.c-alpha, a.b.c-beta, a.b.c-rcX or a.b.c
|
||||
}
|
||||
|
||||
// End of common declaration part
|
||||
if (defined('DOL_INC_FOR_VERSION_ERROR')) {
|
||||
return;
|
||||
}
|
||||
// The major version of Dolibarr
|
||||
define('DOL_MAJOR_VERSION', '23');
|
||||
|
||||
define('DOL_VERSION', constant('DOL_MAJOR_VERSION').'.'.constant('DOL_MINOR_VERSION'));
|
||||
// DOL_VERSION is now a.b.c-alpha, a.b.c-beta, a.b.c-rcX or a.b.c
|
||||
|
||||
if (!defined('CERTIF_LNE')) {
|
||||
define('CERTIF_LNE', '1'); // Set to 1 if the beta version is a candidate for certification or if the stable version has been certified. Use 2 for debug to force LNE features.
|
||||
|
||||
Reference in New Issue
Block a user