We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ce8fd70 + b83f6cc commit 30321efCopy full SHA for 30321ef
1 file changed
c3.php
@@ -56,7 +56,7 @@ function __c3_error($message)
56
57
// Load Codeception Config
58
$config_file = realpath(__DIR__) . DIRECTORY_SEPARATOR . 'codeception.yml';
59
-if (array_key_exists('HTTP_X_CODECEPTION_CODECOVERAGE_CONFIG', $_SERVER)) {
+if (isset($_SERVER['HTTP_X_CODECEPTION_CODECOVERAGE_CONFIG'])) {
60
$config_file = realpath(__DIR__) . DIRECTORY_SEPARATOR . $_SERVER['HTTP_X_CODECEPTION_CODECOVERAGE_CONFIG'];
61
}
62
if (!file_exists($config_file)) {
0 commit comments