N°6274 Fix log.class.inc.php crashing cause cannot load ItopTestCase class

Now the constant name is defined in approot
This commit is contained in:
Pierre Goiffon
2023-05-04 17:33:25 +02:00
parent 584cfa8cbf
commit 1884596ecd
3 changed files with 11 additions and 12 deletions

View File

@@ -25,4 +25,9 @@ define('ITOP_DESIGN_LATEST_VERSION', '3.0');
*/
define('ITOP_CORE_VERSION', '3.0.3');
/**
* @since 3.0.4 N°6274 Allow to test if PHPUnit is currently running. Starting with PHPUnit 9.5 we'll be able to replace it with $GLOBALS['phpunit_version']
*/
define('ITOP_PHPUNIT_RUNNING_CONSTANT_NAME', 'ITOP_PHPUNIT_RUNNING');
require_once APPROOT.'bootstrap.inc.php';