PluginProbe
Parse.ly / 3.24.2
Parse.ly v3.24.2
3.24.3 3.24.2 3.24.1 3.24.0 3.23.7 3.23.6 3.23.5 3.23.4 3.23.3 3.16.0 3.16.1 3.16.2 3.16.3 3.16.4 3.17.0 3.18.0 3.18.1 3.19.0 3.19.1 3.19.2 3.19.3 3.2.0 3.2.1 3.20.0 3.20.1 All 107 releases
wp-parsely / vendor / composer / installers / src / bootstrap.php

bootstrap.php in Parse.ly 3.24.2, at vendor/composer/installers/src/bootstrap.php

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