Skip to content

Commit

Permalink
Merge branch 'MDL-38327_master' of git://github.com/dmonllao/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Mar 5, 2013
2 parents 9af30e6 + 5f26d1c commit 8d0a042
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/setup.php
Expand Up @@ -111,7 +111,7 @@

$CFG->behat_dataroot = realpath($CFG->behat_dataroot);

$switchcompletely = isset($CFG->behat_switchcompletely) && php_sapi_name() !== 'cli';
$switchcompletely = !empty($CFG->behat_switchcompletely) && php_sapi_name() !== 'cli';
$builtinserver = php_sapi_name() === 'cli-server';
$behatrunning = defined('BEHAT_RUNNING');
$testenvironmentrequested = $switchcompletely || $builtinserver || $behatrunning;
Expand Down

0 comments on commit 8d0a042

Please sign in to comment.