1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-12-02 17:52:59 +01:00
phpseclib/tests/bootstrap.php
Jack Worman ea9f6540f3 PSR12 fixes
PSR12 fixes
2022-02-19 17:06:13 -06:00

21 lines
518 B
PHP

<?php
/**
* Bootstrapping File for phpseclib Test Suite
*
* @license http://www.opensource.org/licenses/mit-license.html MIT License
*/
date_default_timezone_set('UTC');
$loader_path = __DIR__ . '/../vendor/autoload.php';
if (!file_exists($loader_path)) {
echo "Dependencies must be installed using composer:\n\n";
echo "php composer.phar install\n\n";
echo "See http://getcomposer.org for help with installing composer\n";
exit(1);
}
$loader = include $loader_path;
$loader->add('', __DIR__);