mirror of
https://github.com/Icinga/icingaweb2.git
synced 2026-04-05 09:15:35 -04:00
Add SPDX license headers and mark source files as GPL-3.0-or-later to preserve the option to relicense under later GPL versions.
16 lines
525 B
PHP
16 lines
525 B
PHP
<?php
|
|
|
|
// SPDX-FileCopyrightText: 2018 Icinga GmbH <https://icinga.com>
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
namespace Icinga\Test {
|
|
|
|
use Icinga\Application\Test;
|
|
|
|
$basePath = getenv('ICINGAWEB_BASEDIR') ?: realpath(dirname(__FILE__) . '/../..');
|
|
$libraryPath = getenv('ICINGAWEB_ICINGA_LIB') ?: ($basePath . '/library/Icinga');
|
|
$configPath = getenv('ICINGAWEB_CONFIGDIR') ?: $basePath . '/test/config';
|
|
|
|
require $libraryPath . '/Application/Test.php';
|
|
Test::start($basePath, $configPath);
|
|
}
|