PluginProbe
ElasticPress / 4.7.0
ElasticPress v4.7.0
5.3.5 5.3.4 3.6.5 3.6.6 4.0.0 4.0.1 4.1.0 4.2.0 4.2.1 4.2.2 4.3.0 4.3.1 4.4.0 4.4.1 4.5.0 4.5.1 4.5.2 4.6.0 4.6.1 4.7.0 4.7.1 4.7.2 5.0.0 5.0.1 5.0.2 All 108 releases
elasticpress / vendor / composer / installers / src / bootstrap.php

bootstrap.php in ElasticPress 4.7.0, at vendor/composer/installers/src/bootstrap.php

14 lines 468 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 function includeIfExists($file)
3 {
4 if (file_exists($file)) {
5 return include $file;
6 }
7 }
8 if ((!$loader = includeIfExists(__DIR__ . '/../vendor/autoload.php')) && (!$loader = includeIfExists(__DIR__ . '/../../../autoload.php'))) {
9 die('You must set up the project dependencies, run the following commands:'.PHP_EOL.
10 'curl -s http://getcomposer.org/installer | php'.PHP_EOL.
11 'php composer.phar install'.PHP_EOL);
12 }
13 return $loader;
14