2017-01-02 09:42:37 +01:00

14 lines
357 B
PHP

<?php
if (!isset($GLOBALS['S9Y_SELENIUM_ENABLED'])) {
die('Selenium disabled.');
}
if ( isset($_COOKIE['PHPUNIT_SELENIUM_TEST_ID']) &&
!isset($_GET['PHPUNIT_SELENIUM_TEST_ID']) &&
extension_loaded('xdebug')) {
$GLOBALS['PHPUNIT_FILTERED_FILES'] = array(__FILE__);
xdebug_start_code_coverage(XDEBUG_CC_UNUSED | XDEBUG_CC_DEAD_CODE);
}
?>