diff --git a/bootstrap/start.php b/bootstrap/start.php index 06ff410c8e..b51e8d9e2c 100755 --- a/bootstrap/start.php +++ b/bootstrap/start.php @@ -23,7 +23,7 @@ | given environment, then we will automatically detect it for you. | */ - if ($_SERVER[ 'APP_ENV' ] == 'travis-ci') { + if (isset($_SERVER[ 'APP_ENV' ]) && $_SERVER[ 'APP_ENV' ] == 'travis-ci') { $env = $app->detectEnvironment(function() { return 'travis-ci'; });