typo fix in bootstrap, vendors validation messages & validation that vendors/autoload.php exists

This commit is contained in:
erik
2014-01-13 13:56:13 -04:00
parent 4d3981cd0e
commit 0a02365962

View File

@@ -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";