bootstrap.php in Zircon Profile 8
Same filename in this branch
- 8 core/tests/bootstrap.php
- 8 vendor/sebastian/comparator/tests/bootstrap.php
- 8 vendor/twig/twig/test/bootstrap.php
- 8 vendor/egulias/email-validator/tests/bootstrap.php
- 8 vendor/phpunit/phpunit-mock-objects/tests/bootstrap.php
- 8 vendor/phpunit/phpunit/tests/bootstrap.php
- 8 vendor/phpunit/php-token-stream/tests/bootstrap.php
- 8 vendor/composer/installers/tests/bootstrap.php
- 8 vendor/composer/installers/src/bootstrap.php
- 8 vendor/behat/mink/driver-testsuite/bootstrap.php
- 8 vendor/symfony-cmf/routing/Tests/bootstrap.php
- 8 vendor/guzzlehttp/psr7/tests/bootstrap.php
- 8 vendor/guzzlehttp/promises/tests/bootstrap.php
Same filename and directory in other branches
File
vendor/composer/installers/src/bootstrap.phpView source
<?php
function includeIfExists($file) {
if (file_exists($file)) {
return include $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 . 'curl -s http://getcomposer.org/installer | php' . PHP_EOL . 'php composer.phar install' . PHP_EOL);
}
return $loader;
Functions
Name | Description |
---|---|
includeIfExists |