define PHPUNIT constant only if not already set

pull/1/head
Morris Jobke 9 년 전
부모 e851f57e2a
커밋 22dcb6e2e4

@ -3,7 +3,9 @@
global $RUNTIME_NOAPPS;
$RUNTIME_NOAPPS = true;
define('PHPUNIT_RUN', 1);
if (!defined('PHPUNIT_RUN')) {
define('PHPUNIT_RUN', 1);
}
require_once __DIR__.'/../../../lib/base.php';

불러오는 중...
취소
저장