From 2eb64b3105dc4fe949ecefd86f54df37c585e310 Mon Sep 17 00:00:00 2001 From: Vincent Sposato Date: Sat, 15 Aug 2015 20:39:31 -0400 Subject: [PATCH] Last change for detecting correct environment --- bootstrap/start.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; });