From 0a023659626a17191bc4041b5f5208b5b6d69abc Mon Sep 17 00:00:00 2001 From: erik Date: Mon, 13 Jan 2014 13:56:13 -0400 Subject: [PATCH] typo fix in bootstrap, vendors validation messages & validation that vendors/autoload.php exists --- gulliver/system/class.bootstrap.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gulliver/system/class.bootstrap.php b/gulliver/system/class.bootstrap.php index e5f027af3..069791c1c 100644 --- a/gulliver/system/class.bootstrap.php +++ b/gulliver/system/class.bootstrap.php @@ -3088,6 +3088,14 @@ class Bootstrap "$>php composer.phar install" ); } + } + + if (! file_exists(PATH_TRUNK . 'vendor' . PATH_SEP . "autoload.php")) { + throw new Exception( + "ERROR: Problems with Verdors!" . PHP_EOL . + "Please execute the following command to repare vendors:" .PHP_EOL.PHP_EOL. + "$>php composer.phar update" + ); } require_once PATH_TRUNK . 'vendor' . PATH_SEP . "autoload.php";