diff options
Diffstat (limited to 'php-phpseclib-autoload.php')
-rw-r--r-- | php-phpseclib-autoload.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/php-phpseclib-autoload.php b/php-phpseclib-autoload.php index b195e0d..4367aa0 100644 --- a/php-phpseclib-autoload.php +++ b/php-phpseclib-autoload.php @@ -14,6 +14,11 @@ if (!isset($fedoraClassLoader) || !($fedoraClassLoader instanceof \Symfony\Compo $fedoraClassLoader = new \Symfony\Component\ClassLoader\ClassLoader(); $fedoraClassLoader->register(); } + +// composer.json: "autoload": { "files": [ "phpseclib/bootstrap.php" ], "psr-4": { "phpseclib\\": "phpseclib/" } +require_once __DIR__ . '/bootstrap.php'; + $fedoraClassLoader->addPrefixes(array( 'phpseclib' => dirname(__DIR__), )); + |