2012-05-24 02:09:54 +02:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Bootstrapping File for phpseclib Test Suite
|
|
|
|
*
|
2014-02-15 19:57:49 +01:00
|
|
|
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
2012-05-24 02:09:54 +02:00
|
|
|
*/
|
|
|
|
|
2013-11-29 09:22:08 +01:00
|
|
|
date_default_timezone_set('UTC');
|
|
|
|
|
2014-06-01 21:18:49 +02:00
|
|
|
$loader_path = __DIR__ . '/../vendor/autoload.php';
|
|
|
|
if (!file_exists($loader_path)) {
|
|
|
|
echo "Dependencies must be installed using composer:\n\n";
|
2015-11-08 16:06:56 +01:00
|
|
|
echo "php composer.phar install\n\n";
|
2014-06-01 21:18:49 +02:00
|
|
|
echo "See http://getcomposer.org for help with installing composer\n";
|
|
|
|
exit(1);
|
2012-05-24 03:00:06 +02:00
|
|
|
}
|
|
|
|
|
2014-06-01 21:18:49 +02:00
|
|
|
$loader = include $loader_path;
|
|
|
|
$loader->add('', __DIR__);
|