PluginProbe ʕ •ᴥ•ʔ
Security Optimizer – The All-In-One Protection Plugin / 1.5.3
Security Optimizer – The All-In-One Protection Plugin v1.5.3
1.6.2 1.6.1 trunk 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.5.9 1.6.0
sg-security / vendor / composer / installers / src / bootstrap.php
sg-security / vendor / composer / installers / src Last commit date
Composer 1 year ago bootstrap.php 1 year ago
bootstrap.php
14 lines
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