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