define PHPUNIT constant only if not already set
This commit is contained in:
Родитель
e851f57e2a
Коммит
22dcb6e2e4
|
@ -3,7 +3,9 @@
|
|||
global $RUNTIME_NOAPPS;
|
||||
$RUNTIME_NOAPPS = true;
|
||||
|
||||
if (!defined('PHPUNIT_RUN')) {
|
||||
define('PHPUNIT_RUN', 1);
|
||||
}
|
||||
|
||||
require_once __DIR__.'/../../../lib/base.php';
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче