From 9c59248665b4b20e16d6f1b01beecfb5ff04bfc4 Mon Sep 17 00:00:00 2001 From: Pablo Godel Date: Fri, 12 Oct 2012 17:01:54 -0400 Subject: [PATCH] Added exit(1) when 'You must set up the project dependencies' --- src/bootstrap.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/bootstrap.php b/src/bootstrap.php index 7ce8c1b0c..59af59453 100644 --- a/src/bootstrap.php +++ b/src/bootstrap.php @@ -18,9 +18,10 @@ function includeIfExists($file) } if ((!$loader = includeIfExists(__DIR__.'/../vendor/autoload.php')) && (!$loader = includeIfExists(__DIR__.'/../../../autoload.php'))) { - die('You must set up the project dependencies, run the following commands:'.PHP_EOL. + echo 'You must set up the project dependencies, run the following commands:'.PHP_EOL. 'curl -s http://getcomposer.org/installer | php'.PHP_EOL. - 'php composer.phar install'.PHP_EOL); + 'php composer.phar install'.PHP_EOL; + exit(1); } return $loader;