You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
962 B
PHP
45 lines
962 B
PHP
<?php
|
|
|
|
/**
|
|
* load.php
|
|
*
|
|
* This file performs class loading operations if/when composer is not available.
|
|
* Including this file in your project will give you immediate access to the
|
|
* functionality of Dcrypt.
|
|
*
|
|
* PHP version 5
|
|
*
|
|
* @category Dcrypt
|
|
* @package Dcrypt
|
|
* @author Michael Meyer (mmeyer2k) <m.meyer2k@gmail.com>
|
|
* @license http://opensource.org/licenses/MIT The MIT License (MIT)
|
|
* @link https://github.com/mmeyer2k/dcrypt
|
|
*/
|
|
// @codeCoverageIgnoreStart
|
|
$g = 'dcrypt_loaded';
|
|
|
|
if (!defined($g)) {
|
|
define($g, true);
|
|
|
|
// Files must be in correct order to honor inheritance
|
|
$files = array(
|
|
'Str',
|
|
'Support',
|
|
'Cryptobase',
|
|
'Hash',
|
|
'Mcrypt',
|
|
'Aes',
|
|
'AesCtr',
|
|
'Otp',
|
|
'Pkcs7',
|
|
'Random',
|
|
'Rc4',
|
|
'Spritz',
|
|
);
|
|
|
|
foreach ($files as $f) {
|
|
require_once __DIR__ . "/src/$f.php";
|
|
}
|
|
}
|
|
// @codeCoverageIgnoreEnd
|